mammoth context
Generated from mammoth-cli 2.4.2, released 2026-11-02:
mammoth schema list,mammoth capability listand the CLI's own--help. Do not edit by hand; runnpm run docs:capabilities.
Inspect and select the active project context. 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
| Command | What it does | Effect | Confirmation |
|---|---|---|---|
context show | Show the profile, endpoint, workspace and project the next command would use. | Read | — |
context project clear | Clear the active project id for one profile. Idempotent. | Benign mutation | — |
context project status | Report the resolved active project id for one profile. | Read | — |
context project use | Save a positive project id as the active project for one profile. | Benign mutation | — |
context commands
mammoth context show
Show the profile, endpoint, workspace and project the next command would use.
mammoth context show
- Effect: Read, scope
local· Confirmation: none - Preconditions: Local read, no network call. Shows which profile, endpoint, workspace and project the next command would use; it never prints credentials.
- Id:
context.show· Result:ContextShowResult
context project
mammoth context project clear
Clear the active project id for one profile. Idempotent.
mammoth context project clear
- Effect: Benign mutation, scope
local· Confirmation: none - Id:
context.project.clear· Result:ContextProjectClearResult
mammoth context project status
Report the resolved active project id for one profile.
mammoth context project status
- Effect: Read, scope
local· Confirmation: none - Id:
context.project.status· Result:ContextProjectStatusResult
mammoth context project use
Save a positive project id as the active project for one profile.
mammoth context project use 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
PROJECT_ID | positional | yes | — | int | Positive project id to make active. |
- Effect: Benign mutation, scope
local· Confirmation: none - Preconditions: Required inputs: PROJECT_ID.
- Id:
context.project.use· Result:ContextProjectUseResult