l3nz / cli-matic

Compact, hands-free [sub]command line parsing library for Clojure.
Eclipse Public License 2.0
361 stars 29 forks source link

helpgen does not work after 0.4.0 #108

Closed l3nz closed 4 years ago

l3nz commented 4 years ago

version

0.4.0, JVM

problem

When running ./scriptTester.sh it breaks with:


========== Testing helpgen: subcommand
   ./examples/helpgen.clj echo -?
❌ KO: Specific help not found

NAME:
 helpgen echo - echoes a message.

USAGE:
 helpgen echo [command options] [arguments...]

OPTIONS:
       --message S  oh-la-la  The message string to echo back.
   -?, --help-RETVAL:0
l3nz commented 4 years ago

SCRIPT="helpgen:" CMD="$CLJ/helpgen.clj" testPresence "$CMD echo -?" \ "Specific help" "$SCRIPT subcommand"

testPresence "$CMD -?" \ "helpgen command help" "$SCRIPT main"

l3nz commented 4 years ago

All other tests are GO