Skip to content
Snippets Groups Projects
user avatar
authored

Stagehand - A Dart project generator

Stagehand banner

Build Status Coverage Status

Helps you get setup!

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.

Things you can create with Stagehand

  • appengineapp - a simple AppEngine application
  • 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
  • ubersimplewebapp - an absolute bare-bones web app
  • webapp - a mobile-friendly web app with routing, responsive CSS, and (optional) Sass support

Installation

Requirements:

  • Dart SDK 1.6 or greater on your path

Install:

$> pub global activate stagehand

Update:

# activate stagehand again
$> pub global activate stagehand

Usage

Stagehand will generate a project skeleton into the current directry. As an example, here is how you create a webapp with Stagehand:

$> mkdir fancy_project
$> cd fancy_project
$> stagehand webapp

And to list all of the project templates:

$> stagehand

Goals

  • 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

Issues and bugs

Please file reports on the GitHub Issue Tracker.

Contributing

Contributions welcome! Please read this short guide first.

Analytics and crash reports

Learn more about how Stagehand uses Google Analytics for measuring usage and error reporting, and how you can opt-out.

Disclaimer

This is not an official Google product.