command_cli
Library for creating cli tools that parses commands from arguments
https://github.com/kemitix/command_cli
Most of the code is extracted and adapted from the GetCLI v1.7.1 project.
Example
$ dart run example/main.dart
List of available commands:
bar: bar cmd
baz: more commands
barf:
bazzy: the barffiest commands
barffy:
foo: foo cmd
help: hints and tips
$ dart run example/main.dart foo
This is FOO!
$ dart run example/main.dart baz
List of available commands:
barf:
bazzy: the barffiest commands
barffy:
$ dart run example/main.dart baz bazzy barffy
This is Baz Bazzy Barffy