Convert a module or a suite of modules into a command line application:

your-module:

#!/bin/bash
mod2cmd --single Your::Module

mod2cmd [-I perl/lib...] Foo::*

generating bash-completion:

mod2cmd --bash-completion Your::Module --name your-module

cache metadata into file so it can be loaded more quickly:

mod2cmd --gen-cache Module ...

mod2cmd --use-cache ...

usage:

your-module --list
your-module --help
your-module func-name (or func_name) --help
your-module func-name --arg1 ... --arg2 ...
your-module --yaml func-name (or func_name) --help
your-module --yaml | --pretty func-name (or func_name) --help