A lightweight tool to generate user-friendly GUIs for command-line applications (CLI) using JSON-based configurations. Perfect for users who prefer graphical interfaces over terminal commands.
- Convert CLI arguments into intuitive GUI forms (checkboxes, dropdowns, file pickers).
- JSON-driven configuration — describe CLI parameters once, reuse forever.
- Run applications directly from the GUI (NW.js/HTA only).
Download and unzip a copy of the entire repository.
Choose one of these methods:
Method | Requirements | Launch Command |
---|---|---|
NW.js | Install NW.js | nw C:\Path\to\app where 'C:\Path\to\app' is a directory where GenerateGUIforCLI is located. |
HTA | Windows only | Double-click generateGUIforCLI.hta |
Browser | Any modern browser | Open generateGUIforCLI.html (limited functionality) |
Create a JSON file describing your CLI app’s arguments. Follow the JSON Schema or use a pre-made configuration from a trusted source (e.g., community repositories or official tool documentation).
- Open the tool (NW.js/HTA/browser).
- Click "Path to CLI arguments description" and select your JSON file.
- The GUI will auto-generate input fields based on the JSON.
- Fill in the GUI fields.
- Click "Generate Command Line" to preview the CLI command.
- (NW.js/HTA only):
- Specify the executable path.
- Click "Execute" to run the CLI app with your parameters.
⚠️ Security Note: Before executing, always verify the generated command in the text field. Proceed only if you:- Understand exactly what the command does.
- Confirm it matches your intent (e.g., no unexpected file deletions or risky operations).
Use these tools to create/edit JSON configurations:
You can obtain CLI argument details through:
- Built-in help (run in terminal):
your_app --help # Most Unix tools your_app /? # Common on Windows
- Official documentation:
Check the application’s:- Official website
- Source repository (e.g., GitHub
README.md
orman
pages)
Browsers are designed to display web pages, not to execute arbitrary executable files like .exe. Use NW.js or HTA for full functionality.