Skip to content
Build with Mammoth › CLI reference: open the docs menu

mammoth completion

Generated from mammoth-cli 2.4.2, released 2026-11-02: mammoth schema list, mammoth capability list and the CLI's own --help. Do not edit by hand; run npm run docs:capabilities.

Install or print shell completion. 2 commands.

Every command also takes the global flags (--output, --yes, --confirm, --dry-run, --input, --profile, ...), which are not repeated below. --input takes a JSON or YAML document of the input fields; mammoth schema get COMMAND_ID prints a command's full input schema.

Confirmation. Commands marked --yes --confirm TARGET or --yes always need those flags, even at a terminal: they never prompt. Commands marked "--yes or prompt" ask at an interactive terminal (table output, no --no-input) and otherwise need --yes. --dry-run skips confirmation and sends nothing.

Summary

CommandWhat it doesEffectConfirmation
completion installAppend the completion snippet to the shell startup file, idempotently.Benign mutation—
completion showPrint the completion activation snippet for a shell.Read—

completion commands

mammoth completion install

Append the completion snippet to the shell startup file, idempotently.

mammoth completion install bash
NamePassed asRequiredDefaultTypeNotes
SHELLpositionalno—strShell to target (bash/zsh/fish); or pass it via the 'shell' input field. Or the shell input field.
shell--input fieldno—str
  • Effect: Benign mutation, scope local · Confirmation: none
  • Id: completion.install · Result: CompletionInstallResult

mammoth completion show

Print the completion activation snippet for a shell.

mammoth completion show bash
NamePassed asRequiredDefaultTypeNotes
SHELLpositionalno—strShell to target (bash/zsh/fish); or pass it via the 'shell' input field. Or the shell input field.
shell--input fieldno—str
  • Effect: Read, scope local · Confirmation: none
  • Id: completion.show · Result: CompletionShowResult

Report an issue · support@mammoth.io