right now if you type sup -h you get
Usage: sup [-?] [-n [<node>]] [-c [<cookie>]] [-t [<timeout>]] [-v]
[<module>] [<function>] [args ...]
-?, --help Show the program options
-n, --node Node name [default: kazoo_apps]
-c, --cookie Erlang cookie [default: change_me]
-t, --timeout Command timeout [default: 0]
-v, --verbose Be verbose
<module> The name of the remote module
<function> The name of the remote module's function
It would sure be nice if it output all the sup commands.
I generate them using the included script
mkdir /usr/doc
/opt/kazoo/lib/sup*/priv/build-autocomplete.escript \
/etc/bash_completion.d/sup.bash /opt/kazoo > /usr/doc/sup_commands
There are about 800 of them. To shorten that up could maybe take an argument so if someone were to type in
sup -h ecall
it could show all the commands that start with sup ecallmgr etc. Maybe even autocomplete.