Screenshot

This commit is contained in:
Tobe O 2018-07-14 19:13:32 -04:00
parent dca32896eb
commit ea44b4a7fd
3 changed files with 22 additions and 5 deletions

View file

@ -1,10 +1,13 @@
# angel_cli
![Screenshot of Terminal](screenshots/screenshot.png)
Command-line tools for the Angel framework.
Includes functionality such as:
* Project scaffolding
* Generating service models, plugins, tests and more
* Renaming projects
* Starting server with live reloading
* Much more...
To install:
@ -15,5 +18,5 @@ $ pub global activate angel_cli
And then, for information on each command:
```bash
$ angel --help
$ angel help
```

View file

@ -8,11 +8,16 @@ import 'package:angel_cli/angel_cli.dart';
final String DOCTOR = "doctor";
main(List<String> args) async {
var runner =
new CommandRunner("angel", "Command-line tools for the Angel framework.");
var runner = new CommandRunner(
"angel",
asciiArt.trim() +
'\n\n' +
"Command-line tools for the Angel framework." +
'\n\n' +
'https://angel-dart.github.io');
runner.argParser
.addFlag('verbose', help: 'Print verbose output', negatable: false);
.addFlag('verbose', help: 'Print verbose output.', negatable: false);
runner
..addCommand(new DoctorCommand())
@ -35,3 +40,12 @@ main(List<String> args) async {
}
});
}
const String asciiArt = '''
____________ ________________________
___ |__ | / /_ ____/__ ____/__ /
__ /| |_ |/ /_ / __ __ __/ __ /
_ ___ | /| / / /_/ / _ /___ _ /___
/_/ |_/_/ |_/ \____/ /_____/ /_____/
''';

BIN
screenshots/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB