App-Cmd
App-Cmd copied to clipboard
perl framework for testable, extensible command line apps
This adds a `manpage` plugin, which uses `Pod::Usage::pod2usage` to format and output documentation gleaned from either the script file (if no command is given) or the specified command.
This fixes GH #38, which shows a confusion about a class providing documentation but it has none.
Here is what I have so far, it needs tests, and a more end-user targeted subclass that pulls commands to load from a config file is the next logical step....
I'm playing (and not succeeding terribly well) at getting subcommands to work. My expectation is that subcommands live in a namespace which is private to their parent commands. However, that...
Hello Ricardo, Any chance to implement subcommands from the box ? https://stackoverflow.com/questions/53889078/how-to-implement-subcommand-using-appcmd-module
Hi. I wrote a command like the one below. . . use MyApp::Cmd::Command::IDS; ... sub command_names { 'IDS' } ... The lower line seems to force lowercase letters. diff --git...
Example: ```perl sub opt_spec { [ enable!,'enable bit], } ``` help will only contain ``` --enable enable bit``` I believe it should be ``` --(no)enable enable bit ```
Say I would like handle some of the CLI options directly in my application, and pass the rest to another external command. In this case I would like the behavior...