-
Notifications
You must be signed in to change notification settings - Fork 1.7k
"pub init" #20701
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
This comment was originally written 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. |
Issue #2432 covers all sorts of scaffold generation, and the resolution is the same: it's something that would be better handled by an external tool. |
This comment was originally written 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. |
This issue has been moved to dart-lang/pub#1110. |
This issue was originally filed by @radicaled
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: