Stagehand helps you get your Dart projects set up and ready for the big show. It is a Dart project scaffolding generator, inspired by tools like Web Starter Kit and Yeoman.
- consoleapp - a simple command-line application
- package - a starting point for Dart libraries or applications
- polymerapp - a web app built using polymer.dart
- shelfserver - a web server built using the shelf package
- webapp - a web app for the developer that doesn’t want to be confused by too much going on
Requirements:
- Dart SDK 1.6 or greater on your path
Install:
$> pub global activate stagehand
Update:
# activate stagehand again
$> pub global activate stagehand
Stagehand will generate a project skeleton into the current directry. As an example, here is how you create a webapp with Stagehand:
With Dart 1.7 or greater:
$> mkdir fancy_project
$> cd fancy_project
$> stagehand webapp
With Dart 1.6:
$> mkdir fancy_project
$> cd fancy_project
$> pub global run stagehand webapp
Here is how you list all of the project templates:
With Dart 1.7 or greater:
$> stagehand
With Dart 1.6:
$> pub global run stagehand
- Opinionated and prescriptive; minimal to no options
- Mobile-first
- Support server and client apps
- Becomes the best way to create a new Dart project
- Used by WebStorm, CDE, Sublime, and more
- Distributed as a pub package
- Non-goal: fostering an entire ecosystem of generators. This project is opinionated. It’s not a framework for generators.
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.
This is not an official Google product.