A beautiful, modern web-based designer for Python argparse CLIs
Create professional command-line interfaces visually — with live preview, AI assistance, and instant code generation.
- Live Terminal Preview — See exactly how your CLI
--helpwill look - Real-time Python Code Generation — Ready-to-run
argparsecode - JSON Schema Export — For documentation or further processing
- Visual Argument Builder — Flags, options, positionals, and subcommands
- AI Assistant (Claude) — Auto-generate descriptions and help text
- Import Existing Code — Paste your current argparse script and edit visually
- Shareable Sessions — Save and share your design via URL
- Auto-save — Your work is saved automatically in the browser
- Modern Cyberpunk / Terminal Aesthetic — Built with JetBrains Mono
-
Open the tool
- Just open
cli_menu_designer.htmlin any modern browser (Chrome, Edge, Firefox recommended)
- Just open
-
Design your CLI
- Set program name and description
- Add arguments using the visual editor
- Choose types: Flag (
--verbose), Option (--input FILE), Positional, or Subcommand - Use AI buttons to generate help text or descriptions
-
Preview & Export
- Switch between Terminal, Python Code, and JSON tabs
- Copy or download the generated code
CLI-Menu-Designer/
├── cli_menu_designer.html # Main single-file application
├── requirements.txt
├── README.md
└── (optional) screenshot.png
- HTML5 + CSS3 (custom dark terminal theme)
- Vanilla JavaScript (no frameworks)
- JetBrains Mono font for that authentic developer feel
- LocalStorage for auto-saving
- Base64 URL encoding for shareable links
- Quickly prototype new CLI tools
- Teach argparse to students
- Refactor messy existing CLIs
- Generate consistent help text across tools
- Create documentation-ready argument schemas
Create a tool like this in minutes:
mycli --input data.csv --format json --verbose processThe designer will generate clean, production-ready argparse code for you.
- Use the AI buttons for smart suggestions
- Drag the terminal width slider to test different console sizes
- Import existing scripts via the Import .py button
- Share your design by clicking Share — the full config is embedded in the URL
Feedback, bug reports, and suggestions are welcome.
You may submit:
- Issues
- Design feedback
- Pull requests for review
However:
- Contributions do not grant any license or ownership rights
- The author retains full discretion over acceptance and future use
- Contributors receive no rights to reuse, redistribute, or derive from this code
This project is not open-source.
It is licensed under a private evaluation-only license. See LICENSE.txt for full terms.