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

View file

@ -8,11 +8,16 @@ import 'package:angel_cli/angel_cli.dart';
final String DOCTOR = "doctor"; final String DOCTOR = "doctor";
main(List<String> args) async { main(List<String> args) async {
var runner = var runner = new CommandRunner(
new CommandRunner("angel", "Command-line tools for the Angel framework."); "angel",
asciiArt.trim() +
'\n\n' +
"Command-line tools for the Angel framework." +
'\n\n' +
'https://angel-dart.github.io');
runner.argParser runner.argParser
.addFlag('verbose', help: 'Print verbose output', negatable: false); .addFlag('verbose', help: 'Print verbose output.', negatable: false);
runner runner
..addCommand(new DoctorCommand()) ..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