Closed
Description
<img src="https://avatars.githubusercontent.com/u/406015?v=3" align="left" width="96" height="96"hspace="10"> Issue by dhconnelly
Originally opened as dart-lang/sdk#2432
Per the discussion of the Dart package manager, I'm requesting an additional "pub" command to create a new project with a standard layout and files.
Use:
pub new awesome_app
This will create a folder named "awesome_app" with:
- a package description/dependencies file (correctly configured, so if a package needs to declare its own version in addition to declaring its dependencies, this is already filled-in);
- a packages directory;
- an awesome_app.dart program, or whatever;
- etc.
Extensions:
Maybe supports "client", "server", "both" sub-commands so that these project types can be autogenerated appropriately (including io or html or json libraries, etc).