Build Node.js 22 interactive CLI tools with readline/promises, auto-complete, history, and colored output.
Act as a Node.js 22 CLI expert. Build interactive CLI for [CLI_PURPOSE] using readline/promises. Add auto-complete for [COMPLETABLE_COMMANDS]. Enable history with [HISTORY_FILE]. Implement colored output for [OUTPUT_CATEGORIES]. Handle Ctrl+C with [ABORT_BEHAVIOR]. Add progress bars for [LONG_OPERATIONS].
Free to copy and use. Compatible with Claude 4 Opus, GPT-5, Llama 4 Maverick.
Specify CLI purpose, completable commands, history file path, output categories to color, abort behavior, and long operations.
Initial release
Sign in and download this prompt to leave a review.