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
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