mitchellh / cli

A Go library for implementing command-line interfaces.
Mozilla Public License 2.0
1.73k stars 123 forks source link

Root command #100

Closed theprobugmaker closed 2 years ago

theprobugmaker commented 2 years ago

I tried to find somewhere in the code, issues and docs (readme) but I couldn't find how I can create a root command. Cobra for example I can create a root command whenever I call my program it would run the root command by default. Using CLI if I run without specifying a command it returns exit status 127.