Skip to content

taggor shared

The workspace's shared folders: code several components import, each published as immutable versions.

Subcommands: taggor shared list, taggor shared show, taggor shared rebuild, taggor shared archive, taggor shared restore.

List the shared folders of the workspace and the components that use each.

Usage
npx taggor shared list [options]
Argument What it does Default
--archived List the archived shared folders instead of the ones in use. -

Also takes the common options: --api-url, --workspace, --verbose, --store, --json, --no-input.

Examples
npx taggor shared list
npx taggor shared list --archived

Exit 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.

Show one shared folder: its versions and the components that use it.

Usage
npx taggor shared show <shared> [options]
Argument What it does Default
<shared> The shared folder: its name or its id (shf_...). Required. -

Also takes the common options: --api-url, --workspace, --verbose, --store, --json, --no-input.

Examples
npx taggor shared show ui

Exit 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.

Build again, from the source Taggor keeps, the components that are behind the folder's current version; the new versions go to staging.

Usage
npx taggor shared rebuild <shared> [options]
Argument What it does Default
<shared> The shared folder: its name or its id (shf_...). Required. -
--timeout <value> Seconds to wait for each build (default 600). -

Also takes the common options: --api-url, --workspace, --verbose, --store, --json, --no-input.

Examples
npx taggor shared rebuild ui

Exit 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.

Archive a shared folder: published components keep working, and nothing new is built against it until it is restored.

Usage
npx taggor shared archive <shared> [options]
Argument What it does Default
<shared> The shared folder: its name or its id (shf_...). Required. -
--yes Do not ask before archiving (a terminal asks; an agent or a script runs). -

Also takes the common options: --api-url, --workspace, --verbose, --store, --json, --no-input.

Examples
npx taggor shared archive ui --yes

Exit 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.

Restore an archived shared folder.

Usage
npx taggor shared restore <shared> [options]
Argument What it does Default
<shared> The shared folder: its name or its id (shf_...). Required. -

Also takes the common options: --api-url, --workspace, --verbose, --store, --json, --no-input.

Examples
npx taggor shared restore ui

Exit 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.