aix command edit

aix command edit

Open a command definition in $EDITOR

Synopsis

Open the source definition of an installed slash command in your default editor.

Searches for the command across all detected platforms (or only the specified –platform). If found on multiple platforms, opens the first one found.

Uses the $EDITOR environment variable, falling back to $VISUAL, then nano, then vi.

aix command edit <name> [flags]

Examples

  # Edit a command
  aix command edit review

  # Edit a command on a specific platform
  aix command edit review --platform claude

Options

  -h, --help   help for edit

Options inherited from parent commands

      --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)

SEE ALSO

Auto generated by spf13/cobra on 24-Jan-2026