taggor components
taggor components
Section titled “taggor components”The components of the workspace.
Subcommands: taggor components list, taggor components archive, taggor components restore.
taggor components list
Section titled “taggor components list”List the components of the workspace with the version each channel points to; --archived lists the archived ones.
npx taggor components list [options]| Argument | What it does | Default |
|---|---|---|
--archived |
List only the archived components (no site serves them, they take no new version and still hold their tag; the sites keep the attachment). | - |
Also takes the common options: --api-url, --workspace, --verbose, --store, --json, --no-input.
npx taggor components listnpx taggor components list --archivedExit codes: 0 ok, 1 generic, 2 usage, 3 unauthenticated, 4 not_found, 5 conflict, 7 rate_limited, 8 network, 9 forbidden. What each code means.
taggor components archive
Section titled “taggor components archive”Archive a component: no site serves it any more and it leaves the list, while its tag, versions, data and the sites' attachments are kept until taggor components restore.
npx taggor components archive <component> [options]| Argument | What it does | Default |
|---|---|---|
<component> |
Component tag or id (cmp_...). Required. | - |
--yes |
Skip the question a terminal asks before archiving (never needed without a terminal). | - |
Also takes the common options: --api-url, --workspace, --verbose, --store, --json, --no-input.
npx taggor components archive price-card --yesExit codes: 0 ok, 1 generic, 2 usage, 3 unauthenticated, 4 not_found, 5 conflict, 7 rate_limited, 8 network, 9 forbidden. What each code means.
taggor components restore
Section titled “taggor components restore”Restore an archived component to the list and to the sites that had it.
npx taggor components restore <component> [options]| Argument | What it does | Default |
|---|---|---|
<component> |
Component tag or id (cmp_...). Required. | - |
Also takes the common options: --api-url, --workspace, --verbose, --store, --json, --no-input.
npx taggor components restore price-cardExit codes: 0 ok, 1 generic, 2 usage, 3 unauthenticated, 4 not_found, 5 conflict, 7 rate_limited, 8 network, 9 forbidden. What each code means.