Looking for some ideas concerning the following problem:
I want to write a script which takes some commandline options in the way git or cvs do:
scriptname GLOBAL_OPTIONS subcommand SUBCOMMAND_OPTIONS (for example cvs -d :sspi:cvs:/dir update -P)
The subcommand options might differ from subcommand to subcommand.
What's the best way to do this? Is there a perl package already?
Thanks in advance
In reply to Parsing commandline with subcommands by hoppfrosch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |