Skip to content

systemslab workspace label ​

Description Set or remove a context's labels in a workspace.
Usage systemslab workspace label <WORKSPACE> <CONTEXT> <LABEL>... [--declare]

Description ​

The systemslab workspace label command sets a context's labels in a workspace. Each label is KEY=VALUE to set it or KEY- to remove it, and the context's labels afterwards are printed one KEY=VALUE per line.

Labels belong to the workspace, so the same context can be labelled phase=baseline in one workspace and phase=regression in another. Every key must be a label facet of the workspace (see systemslab workspace facet) unless --declare is given, so that a typo doesn't create a new facet.

systemslab workspace label allocator-sweep <CONTEXT-ID> phase=baseline allocator-

Options ​

OptionDefaultDescription
<WORKSPACE>The workspace's slug or id.
<CONTEXT>The id of a context in the workspace.
<LABEL>...The labels to set (KEY=VALUE) or remove (KEY-).
--declareDeclare keys that aren't facets of the workspace yet as new label facets, instead of failing.

Common Options ​

OptionDefaultDescription
--systemslab-url The URL at which to access the systemslab server.
--colorauto Controls when color is used in the output. Possible values are auto, always, and never.
--output-formatlong Output format to use when outputting messages. long will result output designed to be human-readable while short is short output meant to be used within scripts.

Environment Variables ​

VariableDescription
SYSTEMSLAB_URLSpecify the URL used to contact the SystemsLab server. Equivalent to --systemslab-url.