Title here
Summary here
Create a new slash command interactively
Create a new slash command directory with a scaffolded command.md file.
If [path] is provided, the command is created in that directory. If no path is provided, a directory named after the command is created.
The command is interactive and will prompt for details unless they are provided via flags.
aix command init [path] [flags] # Interactive creation
aix command init
# Create in specific directory
aix command init my-command
# Non-interactive creation
aix command init my-command --name my-command --description "Review code"
# Specify model and agent
aix command init review --name review --model claude-3-5-sonnet --agent task
See Also:
aix command install - Install the created command
aix command edit - Edit the command definition
aix command validate - Validate the command file --agent string agent type (default "task")
-d, --description string short description
-f, --force overwrite existing directory
-h, --help help for init
--model string AI model to use
--name string command name (required) --log-file string write logs to file in JSON format
--log-format string log format: text, json (default "text")
-p, --platform strings target platform(s): claude, opencode (default: all detected)
-q, --quiet suppress non-error output
-v, --verbose count increase verbosity level (e.g., -v, -vv)