An example of embedding ActiveRecord in a cli app. Read the code!
Usage:
prgm [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments
Subcommands:
add Add item
show Show item
rm Remove item
ls List items
Options:
-h, --help print help