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

mammoth snippet

GENERATED from mammoth schema list and mammoth capability list (mammoth-cli 2.4.0, released 2026-10-29)—do not edit; run npm run docs:capabilities.

8 commands.

"Off a terminal" is what a command's confirmation policy requires when nothing can answer a prompt, as in an agent or CI run: --yes, plus --confirm with the exact target for confirm_target commands. TARGET stands for the id or name the command acts on; the CLI's confirmation_required error names it.

The SDK symbol and API operation come from mammoth capability list. A command that list does not map to one shows — in both columns; mammoth schema get <command.id> describes any command in full.

CommandScopeBlast radiusConfirmationOff a terminalWaitPaginationSDK symbolAPI operation
mammoth snippet deleteprojectDestructiveprompt_or_yes--yesnot_asyncnonemammoth.api.snippets.SnippetsAPI.deleteDELETE /workspaces/{workspace_id}/snippets/{snippet_id} (DeleteSnippet)
mammoth snippet createprojectBenign mutationnone—not_asyncnonemammoth.api.snippets.SnippetsAPI.createPOST /workspaces/{workspace_id}/snippets (CreateSnippet)
mammoth snippet duplicateprojectBenign mutationnone—not_asyncnonemammoth.api.snippets.SnippetsAPI.duplicatePOST /workspaces/{workspace_id}/snippets/{snippet_id}/duplicate (DuplicateSnippet)
mammoth snippet rerunprojectBenign mutationnone—not_asyncnonemammoth.api.snippets.SnippetsAPI.rerunPOST /workspaces/{workspace_id}/snippets/{snippet_id}/rerun (RerunSnippet)
mammoth snippet updateprojectBenign mutationnone—not_asyncnonemammoth.api.snippets.SnippetsAPI.updatePATCH /workspaces/{workspace_id}/snippets/{snippet_id} (UpdateSnippet)
mammoth snippet dependenciesprojectReadnone—not_asyncnonemammoth.api.snippets.SnippetsAPI.dependenciesGET /workspaces/{workspace_id}/snippets/{snippet_id}/dependencies (GetSnippetDependencies)
mammoth snippet getprojectReadnone—not_asyncnonemammoth.api.snippets.SnippetsAPI.getGET /workspaces/{workspace_id}/snippets/{snippet_id} (GetSnippetDetail)
mammoth snippet listprojectReadnone—not_asyncsingle_pagemammoth.api.snippets.SnippetsAPI.listGET /workspaces/{workspace_id}/snippets (ListSnippets)

Report an issue · support@mammoth.io