improve the default help to include common actions (#5980)

This commit is contained in:
Dan Rubel
2016-09-22 06:03:32 -04:00
committed by GitHub
parent 3f68e187f3
commit 74f50bfbe6

View File

@@ -28,7 +28,16 @@ const String kFlutterEnginePackageName = 'sky_engine';
class FlutterCommandRunner extends CommandRunner {
FlutterCommandRunner({ bool verboseHelp: false }) : super(
'flutter',
'Manage your Flutter app development.'
'Manage your Flutter app development.\n'
'\n'
'Common actions:\n'
'\n'
' flutter create <output directory>\n'
' Create a new Flutter project in the specified directory.\n'
'\n'
' flutter run [options]\n'
' Run your Flutter application on an attached device\n'
' or in an emulator.',
) {
argParser.addFlag('verbose',
abbr: 'v',