Skip to content
Snippets Groups Projects
Commit a62bf10e authored by Devon Carew's avatar Devon Carew
Browse files

tweak some text

parent c0c58ac5
No related branches found
No related tags found
No related merge requests found
......@@ -105,12 +105,12 @@ class CliApp {
_out('usage: ${APP_NAME} -o <output directory> generator-name');
_out(argParser.getUsage());
_out('');
_out('generators\n----------');
_out('Available generators:\n');
int len = generators
.map((g) => g.id.length)
.fold(0, (a, b) => max(a, b));
generators
.map((g) => "[${_pad(g.id, len)}] ${g.description}")
.map((g) => "${_pad(g.id, len)}: ${g.description}")
.forEach(logger.stdout);
}
......
......@@ -13,8 +13,8 @@ import '../stagehand.dart';
class WebAppGenerator extends Generator {
WebAppGenerator() : super(
'webapp',
"This is the most minimal option for the developer that doesn’t want to "
"be confused by too much going on.",
"A minimal web app for the developer that doesn’t want to be confused by "
"too much going on.",
categories: const ['dart', 'web']) {
_addFile('.gitignore', gitIgnoreContents);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment