title: Rapidly develop GUI for command line
body: <p>I am looking for a software which would help me quickly build GUI (eg. HTML pages). When selecting different option from the GUI (eg. HTML forms), those options would <em>magically</em> turn into command line options. Eg: my GUI would allow me to select:</p>
  
  <ul>
  <li>Select input filename: inputfn</li>
  <li>Select output filename: outputfn</li>
  <li>Set Option1 to ON</li>
  <li>Set Option2 to OFF</li>
  <li>Set Option3 to value '42'</li>
  <li>...</li>
  </ul>
  
  <p>When clicking on 'Submit', this user input would turn into something like:</p>
  
  <pre><code>$ cmd_line --input $inputfn --output $outputfn --option1-on --option2-off --option3=42
  </code></pre>
  
  <p>I imagine I would need to write up a simple XML (YAML?) configuration file, to describe the simple layout and command line specificity (radio button, text fields ...).</p>
  
  <p>Am I dreaming or is there something like this available ?</p>