
Command Parser
--------------


Some shells can do tab completion for the command options for some well know programs.

But a generalized method to extend this to any program would be to parse the --help output.

Basically it attempts to run the program with --help and then look for documented args
with indented and starting with '-' as possible parameters.

This might be extended to automatically wrap a gui around this.

Perhaps this might be best written in python for the most flexibility.


So far it finds lines that start with whitespace and a '-', it splits the line up looking
for words starting with '-', and prints those on new lines and then the rest of the line
on another line. That is all.


