Skip to content

Commands

Prompter provides several commands for managing templates, configuration, and prompt history.

Available Commands

Quick Reference

Terminal window
# Generate a prompt
prompter "explain this code"
# Add a new template
prompter add review "Review this code"
# Edit a template
prompter edit review
# List templates
prompter list
# View history
prompter history
# Edit config
prompter config
# Generate completions
prompter completion bash

Global Flags

These flags work with all commands:

  • --config - Specify a custom config file path
  • --version, -V - Print version information
  • --help, -h - Show help for any command

Getting Help

Get help for any command:

Terminal window
prompter --help
prompter generate --help
prompter add --help