Rapidly develop GUI for command line

Viewed 3036

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 magically turn into command line options. Eg: my GUI would allow me to select:

  • Select input filename: inputfn
  • Select output filename: outputfn
  • Set Option1 to ON
  • Set Option2 to OFF
  • Set Option3 to value '42'
  • ...

When clicking on 'Submit', this user input would turn into something like:

$ cmd_line --input $inputfn --output $outputfn --option1-on --option2-off --option3=42

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 ...).

Am I dreaming or is there something like this available ?

2 Answers

I think what you are looking for is CommandUI. With it you can specify file/directory/simple input, choices, etc.

Related