seaneagan / unscripted

Define command-line interfaces using ordinary dart methods and classes.
BSD 3-Clause "New" or "Revised" License
23 stars 10 forks source link

Make `help` the default command #101

Closed zoechi closed 4 years ago

zoechi commented 9 years ago

I used unscripted the first time and I like it :)

I have one problem. When I execute den (without any parameters) I get colorized usage output but when I invoke my script this way I get an error message (in red) pubs: error: Must specify a sub-command. and the usage output is not colorized. Any idea how I can get colorized usage output when I call my script without arguments? Source: https://github.com/bwu-dart/pubs/blob/deploy/lib/pubs.dart