Back to prompts
Build a command-line tool in [LANGUAGE/RUNTIME]. Tool purpose: [WHAT THE CLI TOOL DOES] Language: [NODE.JS / PYTHON / GO / RUST] CLI framework: [COMMANDER.JS / CLICK / COBRA / CLAP — or let AI recommend] Commands to implement: - [COMMAND 1]: [WHAT IT DOES] - [COMMAND 2]: [WHAT IT DOES] - [COMMAND 3]: [WHAT IT DOES] Requirements: 1. Main CLI entry point with help text 2. Argument and flag parsing for each command 3. Config file support (read from ~/.toolname or local config) 4. Colour output and progress indicators where appropriate 5. Proper error handling with useful error messages 6. --version flag 7. Instructions for packaging and distributing (npm publish / PyPI / homebrew tap)
How to use this prompt
- 1Copy the prompt using the button above.
- 2Open your AI tool (ChatGPT, Claude, Midjourney, etc.)
- 3Paste and customize any variables in the prompt.
- 4Generate your result.