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

mammoth config

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.

Read and update local CLI configuration. 4 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
config getGet one profile-scoped configuration value.Read—
config listList every profile-scoped configuration value.Read—
config pathPrint the path to the non-secret profiles file.Read—
config setSet one profile-scoped configuration value.Benign mutation—

config commands

mammoth config get

Get one profile-scoped configuration value.

mammoth config get output
NamePassed asRequiredDefaultTypeNotes
KEYpositionalyes—strConfiguration key to read (e.g. output, timeout).
  • Effect: Read, scope local · Confirmation: none
  • Preconditions: Required inputs: KEY.
  • Id: config.get · Result: ConfigGetResult

mammoth config list

List every profile-scoped configuration value.

mammoth config list
  • Effect: Read, scope local · Confirmation: none
  • Id: config.list · Result: ConfigListResult

mammoth config path

Print the path to the non-secret profiles file.

mammoth config path
  • Effect: Read, scope local · Confirmation: none
  • Id: config.path · Result: ConfigPathResult

mammoth config set

Set one profile-scoped configuration value.

mammoth config set output text
NamePassed asRequiredDefaultTypeNotes
KEYpositionalyes—strConfiguration key to set (e.g. output, timeout).
VALUEpositionalyes—strNew value for the configuration key.
  • Effect: Benign mutation, scope local · Confirmation: none
  • Preconditions: Required inputs: KEY, VALUE.
  • Id: config.set · Result: ConfigSetResult

Report an issue · support@mammoth.io