labbench materials category | All commands

labbench materials category set

File a material in a category (managers only)

File the material, and so every lot and place of it, in one of the lab's categories, named by --category-id or by its exact --name (looked up with `labbench categories list`; an unknown or ambiguous name is refused before anything is written). MATERIAL is matched like `labbench materials show`. Needs a signed-in manager session (labbench login); an API token is refused.

Usage

labbench materials category set MATERIAL [flags]

Example

labbench materials category set MATERIAL

Flags

FlagTypeDefaultDescription
--category-idstringid of the category
--namestringexact name of the category

Every command also accepts the global flags.