command_cli 1.0.1 copy "command_cli: ^1.0.1" to clipboard
command_cli: ^1.0.1 copied to clipboard

discontinuedreplaced by: args

Library for creating cli tools that parses commands from arguments

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
0
likes
130
pub points
0%
popularity

Publisher

verified publisherkemitix.net

Library for creating cli tools that parses commands from arguments

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

ansicolor, recase

More

Packages that depend on command_cli