-
Notifications
You must be signed in to change notification settings - Fork 229
"pub init" #1110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
<img src="https://avatars.githubusercontent.com/u/2108507?v=3" align="left" width="48" height="48"hspace="10"> Comment by dgrove |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 |
<img src="https://avatars.githubusercontent.com/u/40635?v=3" align="left" width="48" height="48"hspace="10"> Comment by radicaled I don't think these are duplicate issues. I'm asking for a skeletal pubspec.yaml template; #2432 appears to be about generating an entire application directory structure. This is the equivalent of "npm init" -- generates the package file spec and nothing else. |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 Issue #34 covers all sorts of scaffold generation, and the resolution is the same: it's something that would be better handled by an external tool. |
<img src="https://avatars.githubusercontent.com/u/40635?v=3" align="left" width="48" height="48"hspace="10"> Comment by radicaled I kinda feel like its not the same, since pubspec.yaml is necessary for pub to function, and a blank or non-existent pubspec.yaml isn't valid. Scaffolding a basic application seems like its on another level. But it's fine the way it is, I guess. |
<img src="https://avatars.githubusercontent.com/u/40635?v=3" align="left" width="96" height="96"hspace="10"> Issue by radicaled
Originally opened as dart-lang/sdk#20701
I think it would be a great addition to Pub if it supported a "pub init" command which generated a Pubspec file and populated it with some default settings for quick editing.
Right now using Dart Editor is the only way to get a "template" pubspec.yaml file.
The text was updated successfully, but these errors were encountered: