Stagehand helps you get your Dart projects set up and ready for the big show. It's a Dart project scaffolding generator, inspired by tools like Web Starter Kit and Yeoman.
Dart-savvy IDEs and editors use Stagehand behind the scenes to get project templates,
but you can also use Stagehand on the command line (stagehand
).
console-full
- A command-line application sample.package-simple
- A starting point for Dart libraries or applications.server-shelf
- A web server built using the shelf package.web-angular
- A web app with material design components.web-simple
- A web app that uses only core Dart libraries.web-stagexl
- A starting point for 2D animation and games.
If you want to use Stagehand on the command line,
install it using pub global activate
:
> pub global activate stagehand
To update Stagehand, use the same pub global activate
command.
Stagehand generates a project skeleton into the current directory. For example, here's how you create a package with Stagehand:
> mkdir fancy_project
> cd fancy_project
> stagehand package-simple
Here's how you list all of the project templates:
> stagehand
- Opinionated and prescriptive; minimal to no options
- Support for server and client apps
- The best way to create a new Dart project
- Used by IntelliJ, WebStorm, Visual Studio Code, Atom, Sublime, and more
- Distributed as a pub package
Please file reports on the GitHub issue tracker.
Contributions welcome! Please read this short guide first.
Learn more about how Stagehand uses Google Analytics for measuring usage and error reporting, and how you can opt out.