- Notifications
You must be signed in to change notification settings - Fork0
Generate GUI for CLI from declarative arguments description
License
Leo7k/GenerateGUIforCLI
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A lightweight tool togenerate 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 ofthe 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-clickgenerateGUIforCLI.hta |
| Browser | Any modern browser | OpengenerateGUIforCLI.html (limited functionality) |
Create a JSON file describing your CLI app’s arguments. Follow theJSON Schemaor 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:- Understandexactly 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 toolsyour_app /?# Common on Windows
- Official documentation:
Check the application’s:- Official website
- Source repository (e.g., GitHub
README.mdormanpages)
Browsers are designed to display web pages, not to execute arbitrary executable files like .exe. UseNW.js orHTA for full functionality.
About
Generate GUI for CLI from declarative arguments description
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.