mammoth-cli 2.0.10__tar.gz → 2.0.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/PKG-INFO +2 -2
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/__init__.py +1 -1
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/SKILL.md +4 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/auth.md +5 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/command-index.md +3 -3
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dataset.md +8 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/folder.md +8 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/view.md +35 -35
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/operations.md +23 -2
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/index.md +1 -0
- mammoth_cli-2.0.12/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/need-action.md +36 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/resources.md +6 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/transforms.md +13 -5
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/typed-etl-discovery.md +8 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/dataset.py +68 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/doctor.py +58 -1
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/folder.py +70 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/registry.py +2 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/view.py +9 -4
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/view_ops.py +7 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/runtime/invocation.py +2 -1
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/command_contract.py +21 -26
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/input_fields.py +58 -16
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/positionals.py +22 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/sdk_service.py +49 -5
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/pyproject.toml +2 -2
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/dataset.yaml +39 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/folder.yaml +39 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/view.yaml +35 -62
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/.gitignore +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/LICENSE +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/README.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/__main__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/app.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/activity.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/addon.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/agent.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/ai.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/annotation.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/auth.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/automation.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/batch.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/billing.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/browse.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/capability.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/client-app.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/completion.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/config.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/connector.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/context.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/data-app.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/doctor.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/external-key.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/file.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/job.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/notification.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/parameter.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/project.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/report.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/schedule.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/schema.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/skill.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/snippet.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/support.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/template.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/trash.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/upgrade.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/user.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/version.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/webhook.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/workflow.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/workspace.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/handoff.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/input.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/jobs-drafts.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/machine-output.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/auth-scope.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/cleanup.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/dashboards.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/exports.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/recovery.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/retention.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/safety.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/task-start.md +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/activity.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/addon.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/agent.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/ai.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/annotation.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/auth.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/automation.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/batch.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/billing.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/browse.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/capability.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/client_app.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/completion.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/config.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/connector.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/context.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/dashboard.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/data_app.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/external_key.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/file.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/job.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/notification.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/parameter.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/project.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/report.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/schedule.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/schema.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/skill.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/snippet.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/support.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/template.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/trash.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/upgrade.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/user.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/webhook.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/workflow.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/commands/workspace.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/context/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/context/credentials.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/context/endpoint.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/context/profiles.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/context/resolver.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/contracts/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/contracts/auth.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/errors/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/errors/envelope.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/manifest/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/manifest/loader.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/messages/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/output/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/output/envelope.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/output/normalize.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/output/policy.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/output/progress.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/output/render.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/py.typed +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/runtime/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/runtime/confirm.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/runtime/executor.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/runtime/input_loader.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/runtime/options.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/runtime/session.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/runtime/strict.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/runtime/validate.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/argspec.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/coerce.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/conditions.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/dispatch.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/factory.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/mapping.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/openapi_types.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/protocol.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/testing.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/services/type_system.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/skills/__init__.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/skills/installer.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/testing.py +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/activity.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/addon.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/agent.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/ai.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/annotation.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/auth.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/automation.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/batch.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/billing.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/browse.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/capability.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/client-app.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/completion.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/config.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/connector.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/context.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/dashboard.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/data-app.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/doctor.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/external-key.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/file.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/job.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/notification.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/parameter.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/project.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/report.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/schedule.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/schema.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/skill.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/snippet.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/support.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/template.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/trash.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/upgrade.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/user.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/version.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/webhook.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/workflow.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/commands/workspace.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/openapi-operations.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/schema-v1.json +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/sdk-catalog.source.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/manifests/sdk-methods.yaml +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/openapi/metadata.json +0 -0
- {mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/spec/openapi/openapi.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mammoth-cli
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.12
|
|
4
4
|
Summary: Command-line interface for the Mammoth Analytics platform
|
|
5
5
|
Project-URL: homepage, https://mammoth.io
|
|
6
6
|
Project-URL: repository, https://github.com/EdgeMetric/mammothsdk
|
|
@@ -17,7 +17,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
17
17
|
Requires-Python: <3.15,>=3.12
|
|
18
18
|
Requires-Dist: jsonschema>=4.20
|
|
19
19
|
Requires-Dist: keyring<26,>=25.7
|
|
20
|
-
Requires-Dist: mammoth-io<0.8,>=0.7.
|
|
20
|
+
Requires-Dist: mammoth-io<0.8,>=0.7.4
|
|
21
21
|
Requires-Dist: platformdirs<5,>=4.10
|
|
22
22
|
Requires-Dist: pydantic<3,>=2.13
|
|
23
23
|
Requires-Dist: pyyaml<7,>=6
|
|
@@ -43,6 +43,10 @@ the result.
|
|
|
43
43
|
command that changes, exports, or deletes data requires the exact parent
|
|
44
44
|
`DATASET_ID` (trailing positional or `dataset_id` input field); only reads
|
|
45
45
|
may omit it and discover the parent. Get it from `mammoth view get VIEW_ID`.
|
|
46
|
+
- Uploads and dataset creation return a **dataset** id. Transforms, joins,
|
|
47
|
+
exports, and previews need a **view** id: run `view list DATASET_ID
|
|
48
|
+
--project PROJECT_ID` to get it. See
|
|
49
|
+
[resources](references/recipes/resources.md).
|
|
46
50
|
- Use exact view-schema **display names** in expressions and column inputs,
|
|
47
51
|
never backend aliases.
|
|
48
52
|
- Inspect the result after a mutation. A timeout, exit 7, or interruption does
|
{mammoth_cli-2.0.10 → mammoth_cli-2.0.12}/mammoth_cli/bundled_skill/mammoth-cli/references/auth.md
RENAMED
|
@@ -72,6 +72,11 @@ present and its endpoint matches, verify the live connection:
|
|
|
72
72
|
mammoth doctor --profile PROFILE --output json --no-input
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
+
`doctor` also lists the projects the credential can see (`projects` check)
|
|
76
|
+
and verifies that `--project` or the selected project is one of them
|
|
77
|
+
(`project_context` check). Pick the project id from that list; the API does
|
|
78
|
+
not expose write permission, so the first write is what proves it.
|
|
79
|
+
|
|
75
80
|
Do not continue to schema discovery or business operations after an
|
|
76
81
|
authentication or doctor failure. The `app` server prefix is the production
|
|
77
82
|
default; release or other environment credentials do not imply authorization
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Published CLI command catalog
|
|
2
2
|
|
|
3
|
-
This generated catalog covers every command in the published CLI manifest, currently
|
|
3
|
+
This generated catalog covers every command in the published CLI manifest, currently 549. It is a command-contract index, not an assertion that every backend/OpenAPI operation has a CLI binding. For an exact local CLI contract, run `mammoth schema get COMMAND_ID --output json --no-input`; `mammoth capability list` is an API-binding inventory and can omit typed/local CLI routes. For focused workflows, read the [recipes index](recipes/index.md). Sensitive structured input must come from a private file or pipe; never put secrets in literal argv.
|
|
4
4
|
|
|
5
5
|
Load only the applicable domain file:
|
|
6
6
|
|
|
@@ -22,11 +22,11 @@ Load only the applicable domain file:
|
|
|
22
22
|
- [context](commands/context.md) — 3 published commands
|
|
23
23
|
- [dashboard](commands/dashboard.md) — 104 published commands
|
|
24
24
|
- [data-app](commands/data-app.md) — 12 published commands
|
|
25
|
-
- [dataset](commands/dataset.md) —
|
|
25
|
+
- [dataset](commands/dataset.md) — 17 published commands
|
|
26
26
|
- [doctor](commands/doctor.md) — 1 published commands
|
|
27
27
|
- [external-key](commands/external-key.md) — 4 published commands
|
|
28
28
|
- [file](commands/file.md) — 9 published commands
|
|
29
|
-
- [folder](commands/folder.md) —
|
|
29
|
+
- [folder](commands/folder.md) — 10 published commands
|
|
30
30
|
- [job](commands/job.md) — 4 published commands
|
|
31
31
|
- [notification](commands/notification.md) — 5 published commands
|
|
32
32
|
- [parameter](commands/parameter.md) — 14 published commands
|
|
@@ -82,6 +82,14 @@ Example: `mammoth dataset file-settings update 123 --input '{"delimiter": "sampl
|
|
|
82
82
|
|
|
83
83
|
Expected success: `DatasetFileSettingsUpdateResult` in the standard JSON envelope; mutation `benign_mutation`, confirmation `none`, wait policy `not_async`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
84
84
|
|
|
85
|
+
### `dataset.find`
|
|
86
|
+
|
|
87
|
+
Run: `mammoth dataset find`. Exact input fields: `mammoth schema get dataset.find --output json --no-input`.
|
|
88
|
+
|
|
89
|
+
Example: `mammoth dataset find sales --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
90
|
+
|
|
91
|
+
Expected success: `DatasetFindResult` in the standard JSON envelope; mutation `read`, confirmation `none`, wait policy `not_async`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
92
|
+
|
|
85
93
|
### `dataset.get`
|
|
86
94
|
|
|
87
95
|
Run: `mammoth dataset get`. Exact input fields: `mammoth schema get dataset.get --output json --no-input`.
|
|
@@ -24,6 +24,14 @@ Example: `mammoth folder delete 123 --output json --no-input`. Illustrative only
|
|
|
24
24
|
|
|
25
25
|
Expected success: `FolderDeleteResult` in the standard JSON envelope; mutation `destructive`, confirmation `prompt_or_yes`, wait policy `not_async`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
26
26
|
|
|
27
|
+
### `folder.find`
|
|
28
|
+
|
|
29
|
+
Run: `mammoth folder find`. Exact input fields: `mammoth schema get folder.find --output json --no-input`.
|
|
30
|
+
|
|
31
|
+
Example: `mammoth folder find reports --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
32
|
+
|
|
33
|
+
Expected success: `FolderFindResult` in the standard JSON envelope; mutation `read`, confirmation `none`, wait policy `not_async`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
34
|
+
|
|
27
35
|
### `folder.get`
|
|
28
36
|
|
|
29
37
|
Run: `mammoth folder get`. Exact input fields: `mammoth schema get folder.get --output json --no-input`.
|
|
@@ -240,7 +240,7 @@ Expected success: `ViewDerivativeUpdateResult` in the standard JSON envelope; mu
|
|
|
240
240
|
|
|
241
241
|
Run: `mammoth view draft auto-run`. Exact input fields: `mammoth schema get view.draft.auto-run --output json --no-input`.
|
|
242
242
|
|
|
243
|
-
Example: `mammoth view draft auto-run 123 --input '{"enabled": true}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
243
|
+
Example: `mammoth view draft auto-run 123 --input '{"enabled": true, "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
244
244
|
|
|
245
245
|
Expected success: `ViewDraftAutoRunResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
246
246
|
|
|
@@ -248,7 +248,7 @@ Expected success: `ViewDraftAutoRunResult` in the standard JSON envelope; mutati
|
|
|
248
248
|
|
|
249
249
|
Run: `mammoth view draft command`. Exact input fields: `mammoth schema get view.draft.command --output json --no-input`.
|
|
250
250
|
|
|
251
|
-
Example: `mammoth view draft command 123 --input '{"command": "sample"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
251
|
+
Example: `mammoth view draft command 123 --input '{"command": "sample", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
252
252
|
|
|
253
253
|
Expected success: `ViewDraftCommandResult` in the standard JSON envelope; mutation `benign_mutation`, confirmation `none`, wait policy `not_async`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
254
254
|
|
|
@@ -256,7 +256,7 @@ Expected success: `ViewDraftCommandResult` in the standard JSON envelope; mutati
|
|
|
256
256
|
|
|
257
257
|
Run: `mammoth view draft discard`. Exact input fields: `mammoth schema get view.draft.discard --output json --no-input`.
|
|
258
258
|
|
|
259
|
-
Example: `mammoth view draft discard 123 --output json --no-input`. Illustrative only: append `--yes` after observing an owned target.
|
|
259
|
+
Example: `mammoth view draft discard 123 --input '{"dataset_id": 456}' --output json --no-input`. Illustrative only: append `--yes` after observing an owned target.
|
|
260
260
|
|
|
261
261
|
Expected success: `ViewDraftDiscardResult` in the standard JSON envelope; mutation `destructive`, confirmation `prompt_or_yes`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
262
262
|
|
|
@@ -264,7 +264,7 @@ Expected success: `ViewDraftDiscardResult` in the standard JSON envelope; mutati
|
|
|
264
264
|
|
|
265
265
|
Run: `mammoth view draft enter`. Exact input fields: `mammoth schema get view.draft.enter --output json --no-input`.
|
|
266
266
|
|
|
267
|
-
Example: `mammoth view draft enter 123 --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
267
|
+
Example: `mammoth view draft enter 123 --input '{"dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
268
268
|
|
|
269
269
|
Expected success: `ViewDraftEnterResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
270
270
|
|
|
@@ -280,7 +280,7 @@ Expected success: `ViewDraftStatusResult` in the standard JSON envelope; mutatio
|
|
|
280
280
|
|
|
281
281
|
Run: `mammoth view draft submit`. Exact input fields: `mammoth schema get view.draft.submit --output json --no-input`.
|
|
282
282
|
|
|
283
|
-
Example: `mammoth view draft submit 123 --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
283
|
+
Example: `mammoth view draft submit 123 --input '{"dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
284
284
|
|
|
285
285
|
Expected success: `ViewDraftSubmitResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
286
286
|
|
|
@@ -662,7 +662,7 @@ Expected success: `ViewTaskUpdateResult` in the standard JSON envelope; mutation
|
|
|
662
662
|
|
|
663
663
|
Run: `mammoth view transform add-column`. Exact input fields: `mammoth schema get view.transform.add-column --output json --no-input`.
|
|
664
664
|
|
|
665
|
-
Example: `mammoth view transform add-column 123 --input '{"name": "Revenue report"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
665
|
+
Example: `mammoth view transform add-column 123 --input '{"name": "Revenue report", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
666
666
|
|
|
667
667
|
Expected success: `ViewTransformAddColumnResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
668
668
|
|
|
@@ -670,7 +670,7 @@ Expected success: `ViewTransformAddColumnResult` in the standard JSON envelope;
|
|
|
670
670
|
|
|
671
671
|
Run: `mammoth view transform add-sql`. Exact input fields: `mammoth schema get view.transform.add-sql --output json --no-input`.
|
|
672
672
|
|
|
673
|
-
Example: `mammoth view transform add-sql 123 --input '{"query": "SELECT region, SUM(revenue) FROM data GROUP BY region"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
673
|
+
Example: `mammoth view transform add-sql 123 --input '{"query": "SELECT region, SUM(revenue) FROM data GROUP BY region", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
674
674
|
|
|
675
675
|
Expected success: `ViewTransformAddSqlResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
676
676
|
|
|
@@ -678,7 +678,7 @@ Expected success: `ViewTransformAddSqlResult` in the standard JSON envelope; mut
|
|
|
678
678
|
|
|
679
679
|
Run: `mammoth view transform ai`. Exact input fields: `mammoth schema get view.transform.ai --output json --no-input`.
|
|
680
680
|
|
|
681
|
-
Example: `mammoth view transform ai 123 --input '{"prompt": "Summarize revenue by region", "context_columns": ["Status"]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
681
|
+
Example: `mammoth view transform ai 123 --input '{"prompt": "Summarize revenue by region", "context_columns": ["Status"], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
682
682
|
|
|
683
683
|
Expected success: `ViewTransformAiResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
684
684
|
|
|
@@ -686,7 +686,7 @@ Expected success: `ViewTransformAiResult` in the standard JSON envelope; mutatio
|
|
|
686
686
|
|
|
687
687
|
Run: `mammoth view transform bulk-replace`. Exact input fields: `mammoth schema get view.transform.bulk-replace --output json --no-input`.
|
|
688
688
|
|
|
689
|
-
Example: `mammoth view transform bulk-replace 123 --input '{"columns": ["Status"], "mapping": [{"search": ["sample"], "replace": "sample"}]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
689
|
+
Example: `mammoth view transform bulk-replace 123 --input '{"columns": ["Status"], "mapping": [{"search": ["sample"], "replace": "sample"}], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
690
690
|
|
|
691
691
|
Expected success: `ViewTransformBulkReplaceResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
692
692
|
|
|
@@ -694,7 +694,7 @@ Expected success: `ViewTransformBulkReplaceResult` in the standard JSON envelope
|
|
|
694
694
|
|
|
695
695
|
Run: `mammoth view transform combine-columns`. Exact input fields: `mammoth schema get view.transform.combine-columns --output json --no-input`.
|
|
696
696
|
|
|
697
|
-
Example: `mammoth view transform combine-columns 123 --input '{"sources": ["Status"]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
697
|
+
Example: `mammoth view transform combine-columns 123 --input '{"sources": ["Status"], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
698
698
|
|
|
699
699
|
Expected success: `ViewTransformCombineColumnsResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
700
700
|
|
|
@@ -702,7 +702,7 @@ Expected success: `ViewTransformCombineColumnsResult` in the standard JSON envel
|
|
|
702
702
|
|
|
703
703
|
Run: `mammoth view transform convert-type`. Exact input fields: `mammoth schema get view.transform.convert-type --output json --no-input`.
|
|
704
704
|
|
|
705
|
-
Example: `mammoth view transform convert-type 123 --input '{"conversions": [{"column": "Status", "to": "TEXT"}]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
705
|
+
Example: `mammoth view transform convert-type 123 --input '{"conversions": [{"column": "Status", "to": "TEXT"}], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
706
706
|
|
|
707
707
|
Expected success: `ViewTransformConvertTypeResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
708
708
|
|
|
@@ -710,7 +710,7 @@ Expected success: `ViewTransformConvertTypeResult` in the standard JSON envelope
|
|
|
710
710
|
|
|
711
711
|
Run: `mammoth view transform copy-columns`. Exact input fields: `mammoth schema get view.transform.copy-columns --output json --no-input`.
|
|
712
712
|
|
|
713
|
-
Example: `mammoth view transform copy-columns 123 --input '{"copies": [{"source": "Status"}]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
713
|
+
Example: `mammoth view transform copy-columns 123 --input '{"copies": [{"source": "Status"}], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
714
714
|
|
|
715
715
|
Expected success: `ViewTransformCopyColumnsResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
716
716
|
|
|
@@ -718,7 +718,7 @@ Expected success: `ViewTransformCopyColumnsResult` in the standard JSON envelope
|
|
|
718
718
|
|
|
719
719
|
Run: `mammoth view transform crosstab`. Exact input fields: `mammoth schema get view.transform.crosstab --output json --no-input`.
|
|
720
720
|
|
|
721
|
-
Example: `mammoth view transform crosstab 123 --input '{"rows": ["sample"], "pivot_column": "Status", "select": {"function": "SUM"}, "dataset_name": "Revenue report"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
721
|
+
Example: `mammoth view transform crosstab 123 --input '{"rows": ["sample"], "pivot_column": "Status", "select": {"function": "SUM"}, "dataset_name": "Revenue report", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
722
722
|
|
|
723
723
|
Expected success: `ViewTransformCrosstabResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
724
724
|
|
|
@@ -726,7 +726,7 @@ Expected success: `ViewTransformCrosstabResult` in the standard JSON envelope; m
|
|
|
726
726
|
|
|
727
727
|
Run: `mammoth view transform date-diff`. Exact input fields: `mammoth schema get view.transform.date-diff --output json --no-input`.
|
|
728
728
|
|
|
729
|
-
Example: `mammoth view transform date-diff 123 --input '{"component": "YEAR", "start": "sample", "end": "sample"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
729
|
+
Example: `mammoth view transform date-diff 123 --input '{"component": "YEAR", "start": "sample", "end": "sample", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
730
730
|
|
|
731
731
|
Expected success: `ViewTransformDateDiffResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
732
732
|
|
|
@@ -734,7 +734,7 @@ Expected success: `ViewTransformDateDiffResult` in the standard JSON envelope; m
|
|
|
734
734
|
|
|
735
735
|
Run: `mammoth view transform delete-columns`. Exact input fields: `mammoth schema get view.transform.delete-columns --output json --no-input`.
|
|
736
736
|
|
|
737
|
-
Example: `mammoth view transform delete-columns 123 --input '{"columns": ["Status"]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
737
|
+
Example: `mammoth view transform delete-columns 123 --input '{"columns": ["Status"], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
738
738
|
|
|
739
739
|
Expected success: `ViewTransformDeleteColumnsResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
740
740
|
|
|
@@ -742,7 +742,7 @@ Expected success: `ViewTransformDeleteColumnsResult` in the standard JSON envelo
|
|
|
742
742
|
|
|
743
743
|
Run: `mammoth view transform discard-duplicates`. Exact input fields: `mammoth schema get view.transform.discard-duplicates --output json --no-input`.
|
|
744
744
|
|
|
745
|
-
Example: `mammoth view transform discard-duplicates 123 --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
745
|
+
Example: `mammoth view transform discard-duplicates 123 --input '{"dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
746
746
|
|
|
747
747
|
Expected success: `ViewTransformDiscardDuplicatesResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
748
748
|
|
|
@@ -750,7 +750,7 @@ Expected success: `ViewTransformDiscardDuplicatesResult` in the standard JSON en
|
|
|
750
750
|
|
|
751
751
|
Run: `mammoth view transform extract-date`. Exact input fields: `mammoth schema get view.transform.extract-date --output json --no-input`.
|
|
752
752
|
|
|
753
|
-
Example: `mammoth view transform extract-date 123 --input '{"column": "Status", "component": "year"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
753
|
+
Example: `mammoth view transform extract-date 123 --input '{"column": "Status", "component": "year", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
754
754
|
|
|
755
755
|
Expected success: `ViewTransformExtractDateResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
756
756
|
|
|
@@ -758,7 +758,7 @@ Expected success: `ViewTransformExtractDateResult` in the standard JSON envelope
|
|
|
758
758
|
|
|
759
759
|
Run: `mammoth view transform fill-missing`. Exact input fields: `mammoth schema get view.transform.fill-missing --output json --no-input`.
|
|
760
760
|
|
|
761
|
-
Example: `mammoth view transform fill-missing 123 --input '{"column": "Status", "direction": "FIRST_VALUE"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
761
|
+
Example: `mammoth view transform fill-missing 123 --input '{"column": "Status", "direction": "FIRST_VALUE", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
762
762
|
|
|
763
763
|
Expected success: `ViewTransformFillMissingResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
764
764
|
|
|
@@ -766,7 +766,7 @@ Expected success: `ViewTransformFillMissingResult` in the standard JSON envelope
|
|
|
766
766
|
|
|
767
767
|
Run: `mammoth view transform filter`. Exact input fields: `mammoth schema get view.transform.filter --output json --no-input`.
|
|
768
768
|
|
|
769
|
-
Example: `mammoth view transform filter 123 --input '{"condition": {"column": "Status", "operator": "EQ", "value": "Active"}}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
769
|
+
Example: `mammoth view transform filter 123 --input '{"condition": {"column": "Status", "operator": "EQ", "value": "Active"}, "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
770
770
|
|
|
771
771
|
Expected success: `ViewTransformFilterResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
772
772
|
|
|
@@ -774,7 +774,7 @@ Expected success: `ViewTransformFilterResult` in the standard JSON envelope; mut
|
|
|
774
774
|
|
|
775
775
|
Run: `mammoth view transform generate-sql`. Exact input fields: `mammoth schema get view.transform.generate-sql --output json --no-input`.
|
|
776
776
|
|
|
777
|
-
Example: `mammoth view transform generate-sql 123 --input '{"intent": "Summarize revenue by region"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
777
|
+
Example: `mammoth view transform generate-sql 123 --input '{"intent": "Summarize revenue by region", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
778
778
|
|
|
779
779
|
Expected success: `ViewTransformGenerateSqlResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
780
780
|
|
|
@@ -782,7 +782,7 @@ Expected success: `ViewTransformGenerateSqlResult` in the standard JSON envelope
|
|
|
782
782
|
|
|
783
783
|
Run: `mammoth view transform increment-date`. Exact input fields: `mammoth schema get view.transform.increment-date --output json --no-input`.
|
|
784
784
|
|
|
785
|
-
Example: `mammoth view transform increment-date 123 --input '{"column": "Status", "delta": {}}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
785
|
+
Example: `mammoth view transform increment-date 123 --input '{"column": "Status", "delta": {}, "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
786
786
|
|
|
787
787
|
Expected success: `ViewTransformIncrementDateResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
788
788
|
|
|
@@ -790,7 +790,7 @@ Expected success: `ViewTransformIncrementDateResult` in the standard JSON envelo
|
|
|
790
790
|
|
|
791
791
|
Run: `mammoth view transform join`. Exact input fields: `mammoth schema get view.transform.join --output json --no-input`.
|
|
792
792
|
|
|
793
|
-
Example: `mammoth view transform join 123 --input '{"foreign_view": 1, "join_type": "INNER", "on": [{"left": "sample", "right": "sample"}], "select": ["sample"]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
793
|
+
Example: `mammoth view transform join 123 --input '{"foreign_view": 1, "join_type": "INNER", "on": [{"left": "sample", "right": "sample"}], "select": ["sample"], "dataset_id": 456, "foreign_dataset_id": 457}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
794
794
|
|
|
795
795
|
Expected success: `ViewTransformJoinResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
796
796
|
|
|
@@ -798,7 +798,7 @@ Expected success: `ViewTransformJoinResult` in the standard JSON envelope; mutat
|
|
|
798
798
|
|
|
799
799
|
Run: `mammoth view transform json-extract`. Exact input fields: `mammoth schema get view.transform.json-extract --output json --no-input`.
|
|
800
800
|
|
|
801
|
-
Example: `mammoth view transform json-extract 123 --input '{"column": "Status"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
801
|
+
Example: `mammoth view transform json-extract 123 --input '{"column": "Status", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
802
802
|
|
|
803
803
|
Expected success: `ViewTransformJsonExtractResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
804
804
|
|
|
@@ -806,7 +806,7 @@ Expected success: `ViewTransformJsonExtractResult` in the standard JSON envelope
|
|
|
806
806
|
|
|
807
807
|
Run: `mammoth view transform limit-rows`. Exact input fields: `mammoth schema get view.transform.limit-rows --output json --no-input`.
|
|
808
808
|
|
|
809
|
-
Example: `mammoth view transform limit-rows 123 --input '{"n": 1}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
809
|
+
Example: `mammoth view transform limit-rows 123 --input '{"n": 1, "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
810
810
|
|
|
811
811
|
Expected success: `ViewTransformLimitRowsResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
812
812
|
|
|
@@ -814,7 +814,7 @@ Expected success: `ViewTransformLimitRowsResult` in the standard JSON envelope;
|
|
|
814
814
|
|
|
815
815
|
Run: `mammoth view transform lookup`. Exact input fields: `mammoth schema get view.transform.lookup --output json --no-input`.
|
|
816
816
|
|
|
817
|
-
Example: `mammoth view transform lookup 123 --input '{"source": "Status", "lookup_view_id": 1, "key": "Status", "value": "sample"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
817
|
+
Example: `mammoth view transform lookup 123 --input '{"source": "Status", "lookup_view_id": 1, "key": "Status", "value": "sample", "dataset_id": 456, "lookup_dataset_id": 457}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
818
818
|
|
|
819
819
|
Expected success: `ViewTransformLookupResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
820
820
|
|
|
@@ -822,7 +822,7 @@ Expected success: `ViewTransformLookupResult` in the standard JSON envelope; mut
|
|
|
822
822
|
|
|
823
823
|
Run: `mammoth view transform math`. Exact input fields: `mammoth schema get view.transform.math --output json --no-input`.
|
|
824
824
|
|
|
825
|
-
Example: `mammoth view transform math 123 --input '{"expression": "price * quantity"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
825
|
+
Example: `mammoth view transform math 123 --input '{"expression": "price * quantity", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
826
826
|
|
|
827
827
|
Expected success: `ViewTransformMathResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
828
828
|
|
|
@@ -830,7 +830,7 @@ Expected success: `ViewTransformMathResult` in the standard JSON envelope; mutat
|
|
|
830
830
|
|
|
831
831
|
Run: `mammoth view transform pivot`. Exact input fields: `mammoth schema get view.transform.pivot --output json --no-input`.
|
|
832
832
|
|
|
833
|
-
Example: `mammoth view transform pivot 123 --input '{"group_by": ["sample"], "aggregations": [{"column": "Status", "function": "SUM"}]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
833
|
+
Example: `mammoth view transform pivot 123 --input '{"group_by": ["sample"], "aggregations": [{"column": "Status", "function": "SUM"}], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
834
834
|
|
|
835
835
|
Expected success: `ViewTransformPivotResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
836
836
|
|
|
@@ -838,7 +838,7 @@ Expected success: `ViewTransformPivotResult` in the standard JSON envelope; muta
|
|
|
838
838
|
|
|
839
839
|
Run: `mammoth view transform replace`. Exact input fields: `mammoth schema get view.transform.replace --output json --no-input`.
|
|
840
840
|
|
|
841
|
-
Example: `mammoth view transform replace 123 --input '{"columns": ["Status"], "find": "sample", "replace": "sample"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
841
|
+
Example: `mammoth view transform replace 123 --input '{"columns": ["Status"], "find": "sample", "replace": "sample", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
842
842
|
|
|
843
843
|
Expected success: `ViewTransformReplaceResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
844
844
|
|
|
@@ -846,7 +846,7 @@ Expected success: `ViewTransformReplaceResult` in the standard JSON envelope; mu
|
|
|
846
846
|
|
|
847
847
|
Run: `mammoth view transform set-values`. Exact input fields: `mammoth schema get view.transform.set-values --output json --no-input`.
|
|
848
848
|
|
|
849
|
-
Example: `mammoth view transform set-values 123 --input '{"values": [{"value": "sample"}]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
849
|
+
Example: `mammoth view transform set-values 123 --input '{"values": [{"value": "sample"}], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
850
850
|
|
|
851
851
|
Expected success: `ViewTransformSetValuesResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
852
852
|
|
|
@@ -854,7 +854,7 @@ Expected success: `ViewTransformSetValuesResult` in the standard JSON envelope;
|
|
|
854
854
|
|
|
855
855
|
Run: `mammoth view transform small-large`. Exact input fields: `mammoth schema get view.transform.small-large --output json --no-input`.
|
|
856
856
|
|
|
857
|
-
Example: `mammoth view transform small-large 123 --input '{"function": "SMALL", "columns": ["Status"]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
857
|
+
Example: `mammoth view transform small-large 123 --input '{"function": "SMALL", "columns": ["Status"], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
858
858
|
|
|
859
859
|
Expected success: `ViewTransformSmallLargeResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
860
860
|
|
|
@@ -862,7 +862,7 @@ Expected success: `ViewTransformSmallLargeResult` in the standard JSON envelope;
|
|
|
862
862
|
|
|
863
863
|
Run: `mammoth view transform split`. Exact input fields: `mammoth schema get view.transform.split --output json --no-input`.
|
|
864
864
|
|
|
865
|
-
Example: `mammoth view transform split 123 --input '{"column": "Status", "delimiter": "sample", "new_columns": [{"name": "Revenue report"}]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
865
|
+
Example: `mammoth view transform split 123 --input '{"column": "Status", "delimiter": "sample", "new_columns": [{"name": "Revenue report"}], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
866
866
|
|
|
867
867
|
Expected success: `ViewTransformSplitResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
868
868
|
|
|
@@ -870,7 +870,7 @@ Expected success: `ViewTransformSplitResult` in the standard JSON envelope; muta
|
|
|
870
870
|
|
|
871
871
|
Run: `mammoth view transform substring`. Exact input fields: `mammoth schema get view.transform.substring --output json --no-input`.
|
|
872
872
|
|
|
873
|
-
Example: `mammoth view transform substring 123 --input '{"column": "Status"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
873
|
+
Example: `mammoth view transform substring 123 --input '{"column": "Status", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
874
874
|
|
|
875
875
|
Expected success: `ViewTransformSubstringResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
876
876
|
|
|
@@ -878,7 +878,7 @@ Expected success: `ViewTransformSubstringResult` in the standard JSON envelope;
|
|
|
878
878
|
|
|
879
879
|
Run: `mammoth view transform text`. Exact input fields: `mammoth schema get view.transform.text --output json --no-input`.
|
|
880
880
|
|
|
881
|
-
Example: `mammoth view transform text 123 --input '{"columns": ["Status"]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
881
|
+
Example: `mammoth view transform text 123 --input '{"columns": ["Status"], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
882
882
|
|
|
883
883
|
Expected success: `ViewTransformTextResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
884
884
|
|
|
@@ -886,7 +886,7 @@ Expected success: `ViewTransformTextResult` in the standard JSON envelope; mutat
|
|
|
886
886
|
|
|
887
887
|
Run: `mammoth view transform unnest`. Exact input fields: `mammoth schema get view.transform.unnest --output json --no-input`.
|
|
888
888
|
|
|
889
|
-
Example: `mammoth view transform unnest 123 --input '{"columns": ["Status"]}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
889
|
+
Example: `mammoth view transform unnest 123 --input '{"columns": ["Status"], "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
890
890
|
|
|
891
891
|
Expected success: `ViewTransformUnnestResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
892
892
|
|
|
@@ -894,7 +894,7 @@ Expected success: `ViewTransformUnnestResult` in the standard JSON envelope; mut
|
|
|
894
894
|
|
|
895
895
|
Run: `mammoth view transform window`. Exact input fields: `mammoth schema get view.transform.window --output json --no-input`.
|
|
896
896
|
|
|
897
|
-
Example: `mammoth view transform window 123 --input '{"function": "ROW_NUMBER"}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
897
|
+
Example: `mammoth view transform window 123 --input '{"function": "ROW_NUMBER", "dataset_id": 456}' --output json --no-input`. Runnable only after resolving schema-required IDs and input from observed reads.
|
|
898
898
|
|
|
899
899
|
Expected success: `ViewTransformWindowResult` in the standard JSON envelope; mutation `reversible_pipeline`, confirmation `none`, wait policy `always_wait`. On nonzero exit, inspect the JSON error envelope and its `recovery_commands`; do not guess request fields. See [representative envelopes](../machine-output.md) for concrete success/error shapes.
|
|
900
900
|
|
|
@@ -9,6 +9,13 @@ wait policy, known restrictions, and recovery/verification metadata. Read the
|
|
|
9
9
|
schema immediately before composing a request because support and fields can
|
|
10
10
|
vary by release, profile, or backend.
|
|
11
11
|
|
|
12
|
+
`schema find`/`schema get`/`schema list` read the installed manifest. They
|
|
13
|
+
need no project and no stored credentials. `dataset list`, `folder list`, and
|
|
14
|
+
`view list` call the live API and are scoped to one project through
|
|
15
|
+
`--project`. `dataset find NAME` and `folder find NAME` search every project
|
|
16
|
+
the credential can see (or one, with `--project`); they still need
|
|
17
|
+
credentials because they call the live API.
|
|
18
|
+
|
|
12
19
|
```bash
|
|
13
20
|
mammoth capability find "transform" --output json --no-input
|
|
14
21
|
mammoth capability find "pipeline" --output json --no-input
|
|
@@ -31,6 +38,11 @@ mammoth schema find "fill missing" --output json --no-input
|
|
|
31
38
|
mammoth schema find "replace" --output json --no-input
|
|
32
39
|
```
|
|
33
40
|
|
|
41
|
+
There is no pipeline `union`/`append` transform. `join` and `lookup` are the
|
|
42
|
+
typed routes for combining views. Appending rows is a dataset-level
|
|
43
|
+
operation: upload into the existing dataset with `file upload --input
|
|
44
|
+
'{"append_to_ds_id": DATASET_ID}'`, not a view transform.
|
|
45
|
+
|
|
34
46
|
Use the exact returned command ID, then read its schema and the current view
|
|
35
47
|
schema before composing input. For row-oriented sources such as OWID files,
|
|
36
48
|
preserve the observed display names (often `Entity`, `Code`, `Year`, and one
|
|
@@ -51,11 +63,12 @@ exact schema; do not use a guessed alias, raw HTTP, local processing, or opaque
|
|
|
51
63
|
Prefer a typed `view transform <operation>` command. Its schema is the
|
|
52
64
|
discoverable request contract and its result should be verified with a view
|
|
53
65
|
read, preview, pipeline read/items, or the returned job according to
|
|
54
|
-
`wait_policy
|
|
66
|
+
`wait_policy`. Every transform and draft mutation carries the exact parent
|
|
67
|
+
`dataset_id` in `--input`; it never falls back to project-wide discovery:
|
|
55
68
|
|
|
56
69
|
```bash
|
|
57
70
|
mammoth view transform math VIEW_ID --project PROJECT_ID \
|
|
58
|
-
--input '{"expression":"Unit Price * Quantity","new_column":"Revenue"}' \
|
|
71
|
+
--input '{"dataset_id":DATASET_ID,"expression":"Unit Price * Quantity","new_column":"Revenue"}' \
|
|
59
72
|
--output json --no-input
|
|
60
73
|
mammoth view pipeline get VIEW_ID --project PROJECT_ID --output json --no-input
|
|
61
74
|
```
|
|
@@ -83,6 +96,14 @@ status, submit, and verify pipeline state; discard only with the required
|
|
|
83
96
|
confirmation. A draft submit result is not proof that every intended task was
|
|
84
97
|
applied.
|
|
85
98
|
|
|
99
|
+
## Response shapes
|
|
100
|
+
|
|
101
|
+
Response shapes are not uniform; never reuse one `jq` path across commands.
|
|
102
|
+
`dataset get` returns `data.dataset.{...}`. `dataset list` returns
|
|
103
|
+
`data.datasets[]`. `project list` returns `data.projects[]`. Every other
|
|
104
|
+
command returns its object directly under `data`. Inspect the first response
|
|
105
|
+
before extracting a field.
|
|
106
|
+
|
|
86
107
|
## Exports
|
|
87
108
|
|
|
88
109
|
First inspect `view.export.list/get` for existing configuration and the exact
|
|
@@ -11,6 +11,7 @@ hashes; stop on ambiguous schemas, authorization errors, or unknown effects.
|
|
|
11
11
|
|
|
12
12
|
- [auth and scope](auth-scope.md)
|
|
13
13
|
- [files, datasets, views and settings](resources.md)
|
|
14
|
+
- [datasets stuck in `need_action` after upload](need-action.md)
|
|
14
15
|
- [typed transformations and drafts](transforms.md)
|
|
15
16
|
- [typed ETL discovery](typed-etl-discovery.md)
|
|
16
17
|
- [exports and artifacts](exports.md)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Datasets stuck in `need_action` after upload
|
|
2
|
+
|
|
3
|
+
A freshly uploaded file can land in `status: "need_action"` with
|
|
4
|
+
`status_info.need_action` = "We need your input before we process this file".
|
|
5
|
+
No views exist yet and transforms cannot start. This is not a UI-only step:
|
|
6
|
+
the CLI resolves it. Do not hand it to the operator unless the settings read
|
|
7
|
+
below is itself ambiguous.
|
|
8
|
+
|
|
9
|
+
The usual cause is a CSV whose date column is ambiguous (`01/02/2023` can be
|
|
10
|
+
US or UK). `dataset file-settings get` then reports `has_ambiguous_dates: true`
|
|
11
|
+
and `date_format: null`.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
mammoth dataset get DATASET_ID --project PROJECT_ID --output json --no-input
|
|
15
|
+
mammoth dataset file-settings get DATASET_ID --project PROJECT_ID --output json --no-input
|
|
16
|
+
mammoth schema get dataset.file-settings.update --output json --no-input
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Read the detected `delimiter`, `has_header`, `initial_skip_count`, and
|
|
20
|
+
`quotechar` from the `file-settings get` response and send them back
|
|
21
|
+
unchanged, adding the one decision the platform is waiting for. For
|
|
22
|
+
ambiguous dates that is `date_format` (`"US"` or `"UK"`); decide it from the
|
|
23
|
+
task or the data itself (a day value above 12 settles it), and ask the
|
|
24
|
+
operator only when neither does.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
mammoth dataset file-settings update DATASET_ID --project PROJECT_ID \
|
|
28
|
+
--input '{"delimiter": ",", "has_header": true, "initial_skip_count": 0, "quotechar": "\"", "date_format": "US"}' \
|
|
29
|
+
--output json --no-input
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The response is a job (`operation: "understand_csv"`). Poll `dataset get`
|
|
33
|
+
until `status` leaves `need_action`; it normally reaches `ready` within a few
|
|
34
|
+
seconds, after which `view list` returns the generated view and typed
|
|
35
|
+
transforms can proceed. If the status becomes `error`, read `status_info`
|
|
36
|
+
and stop; do not retry with guessed settings.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Files, URL imports, datasets, views and settings
|
|
2
2
|
|
|
3
|
+
Uploads and dataset creation return a dataset id, not a view id. Every
|
|
4
|
+
pipeline transform, `join`'s `foreign_view`, export, and preview needs a view
|
|
5
|
+
id instead. Run `view list DATASET_ID --project PROJECT_ID` to get it. Do not
|
|
6
|
+
dig through `dataset get` and its `dependencies` field for a view id; `view
|
|
7
|
+
list` is the supported route.
|
|
8
|
+
|
|
3
9
|
Discover exact contracts, then upload and read back explicit parents:
|
|
4
10
|
|
|
5
11
|
```bash
|
|
@@ -9,6 +9,14 @@ mammoth schema get view.transform.join --output json --no-input
|
|
|
9
9
|
mammoth view transform OPERATION VIEW_ID --project PROJECT_ID --input INPUT_JSON --output json --no-input
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
+
Every `view transform *` and `view draft *` mutation needs the exact parent
|
|
13
|
+
dataset: put `"dataset_id": DATASET_ID` in `--input` (these commands take no
|
|
14
|
+
DATASET_ID positional). Without it the command fails closed with
|
|
15
|
+
`missing_argument`; it never falls back to project-wide discovery, which on
|
|
16
|
+
large projects browses every folder and can 500 or miss the view. Get the
|
|
17
|
+
parent from `view list DATASET_ID` (you already know it after upload) or
|
|
18
|
+
`view get VIEW_ID` (a read, which may discover it).
|
|
19
|
+
|
|
12
20
|
Prefer typed operations such as convert-type, fill-missing, replace, join,
|
|
13
21
|
lookup, filter and math only when the live schema
|
|
14
22
|
lists them. For each operation, a successful result should contain a returned
|
|
@@ -21,23 +29,23 @@ command manifest; substitute only observed view IDs and display names:
|
|
|
21
29
|
```bash
|
|
22
30
|
mammoth schema get view.transform.convert-type --output json --no-input
|
|
23
31
|
mammoth view transform convert-type VIEW_ID --project PROJECT_ID \
|
|
24
|
-
--input '{"conversions":[{"column":"Amount","to":"NUMERIC"}]}' \
|
|
32
|
+
--input '{"dataset_id":DATASET_ID,"conversions":[{"column":"Amount","to":"NUMERIC"}]}' \
|
|
25
33
|
--output json --no-input
|
|
26
34
|
mammoth schema get view.transform.math --output json --no-input
|
|
27
35
|
mammoth view transform math VIEW_ID --project PROJECT_ID \
|
|
28
|
-
--input '{"expression":"GDP / Population","new_column":"GDP per capita"}' \
|
|
36
|
+
--input '{"dataset_id":DATASET_ID,"expression":"GDP / Population","new_column":"GDP per capita"}' \
|
|
29
37
|
--output json --no-input
|
|
30
38
|
```
|
|
31
39
|
|
|
32
40
|
The released catalog exposes typed dedupe through `schema find duplicate` as
|
|
33
|
-
`view.transform.discard-duplicates`. Inspect its optional `ignore_columns`
|
|
34
|
-
|
|
41
|
+
`view.transform.discard-duplicates`. Inspect its optional `ignore_columns`
|
|
42
|
+
field before submitting. For a join, verify both schemas and
|
|
35
43
|
expected multiplicity:
|
|
36
44
|
|
|
37
45
|
```bash
|
|
38
46
|
mammoth schema get view.transform.discard-duplicates --output json --no-input
|
|
39
47
|
mammoth view transform discard-duplicates VIEW_ID --project PROJECT_ID \
|
|
40
|
-
--input '{"ignore_columns":["ID"]}' --output json --no-input
|
|
48
|
+
--input '{"dataset_id":DATASET_ID,"ignore_columns":["ID"]}' --output json --no-input
|
|
41
49
|
mammoth schema get view.transform.join --output json --no-input
|
|
42
50
|
mammoth view transform join VIEW_ID --project PROJECT_ID --input INPUT_JSON --output json --no-input
|
|
43
51
|
```
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Typed ETL discovery
|
|
2
2
|
|
|
3
|
+
There is no pipeline union or append transform. `join` and `lookup` are the
|
|
4
|
+
typed routes for combining views; neither appends rows across two views.
|
|
5
|
+
Appending rows is a dataset-level operation: upload into the existing dataset
|
|
6
|
+
with `mammoth file upload FILE --project PROJECT_ID --input
|
|
7
|
+
'{"append_to_ds_id": DATASET_ID}' --output json --no-input`. Confirm the exact
|
|
8
|
+
field name first with `mammoth schema get file.upload --output json
|
|
9
|
+
--no-input`; do not guess a `union`/`append` command id.
|
|
10
|
+
|
|
3
11
|
Start with typed transforms rather than raw `view task` payloads:
|
|
4
12
|
|
|
5
13
|
```bash
|