title: Python dynamic command line parameter
body: <p>I need to specify command line parameters depending on another parameter.
  So the first specified parameter should specify the action and the following the arguments for that action.</p>
  
  <pre><code>python test.py create -d what -s size -t type
  python test.py delete -d what -a now
  python test.py status -x something
  </code></pre>
  
  <p>Is there a framwork/library with which this can easily be done?
  I have looked into <code>argparse</code> so far but couldn't find anything that could do this?</p>