Closed
Description
This issue was originally filed by [email protected]
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).