Alle Befehle · workspace

pm workspace schema

Manage types, statuses, fields, presets, and workflow policies.

Manage types, statuses, fields, presets, and workflow policies.

Aufruf

pm workspace schema [options] <subcommand> [name]

Argumente

<subcommand>Required; schema verb (list/show, add/remove, rename/remap, policy-*), or custom type shorthanderforderlich
<name>Definition/source name or item id; policy-mode: advise|refuseoptional

Optionen

--definition <json>Policy or proposed fields JSONoptional
--policy <id>Policy id for policy-approveoptional
--message <text>Audit rationale for a policy mutationoptional
--description <text>Type, status, or field descriptionoptional
--default-status <status>Default status for this typeoptional
--folder <dir>Storage folder for items of this custom typeoptional
--role <value>Lifecycle role for a custom status (repeatable): draft, active, blocked, terminal, terminal_done, terminal_canceled, default_open, default_close, default_canceloptional
--order <n>Display/sort order for a custom statusoptional
--type <type>Value type for a custom field (add-field): string, number, boolean, string_array, array, objectoptional
--commands <list>Field commands (repeatable/csv): create, update, update_many, list, search, calendar, contextoptional
--cli-flag <flag>Override the auto-derived CLI flag for a custom field (add-field)optional
--requiredMark a custom field as always required (add-field)optional
--required-on-createMark a custom field as required at create time (add-field)optional
--no-allow-unsetDisallow clearing a custom field via --unset (add-field)optional
--required-types <list>Restrict a custom field's requirement to specific item types (add-field; repeatable, comma-friendly)optional
--inferInfer custom item types from title-prefix conventions (add-type; preview unless --apply)optional
--min-count <n>Minimum items sharing a prefix for add-type --infer (default 10)optional
--applyRegister inferred types (add-type --infer); without it the command previews onlyoptional
--to <name>Target definition name for rename/remap migrationsoptional
--migration-id <id>Stable idempotency key for a resumable schema migrationoptional
--dry-runPreview rename/remap migrations and workflow-policy actions without writesoptional
--author <value>Mutation authoroptional
--forceForce ownership/lock overrideoptional

Beispiele

pm workspace schema --help

Verwandte Befehle