This is a tool to generate a simple GUI for a CLI command. The user would only need to supply a simple XML file defining the expected representation of various flags and verbs in such a CLI command.
By using Guify, users don’t need to always refer to the --help page or man when they only want to use the mere basics of a complex tool. In such way, users who have a hard time memorizing things (just like me), can always rely on the GUI until they get familiarized.
The ultimate replacement for CLI tools.
The extension for such files are .gui. They can be placed anywhere, as long as it is configured.
This tool also comes with a set of XSD schemas to help users create valid XML documents. They are located in ./UI/Schemas
The following table is the recommended layout.
| *nix style CLI Grammar | XML Node |
|---|---|
Verb, like commit, merge in Git |
Verb |
| Flags (with short/long name) with no argument | YesNo |
Flags (with short/long name) with string/int/float argument |
String/Number |
| Flags (with short/long name) with path-to-file/directory argument | SelectFolder/OpenFile/SaveFile |
| Arguments with no flags | TextBox, although users have to supply a comment |
| Mutually exclusive flags | YesNo within a Group |
| Flags with choices | PickVa |