Blocks

Every command below also accepts the global options.

Get block

sim blocks get <blockId>

Arguments

ArgumentRequiredDescription
blockIdYesBlock type identifier. An unversioned base type resolves to the newest version, and the response echoes the resolved id.

List blocks

sim blocks list [options]

Options

OptionRequiredDescription
--search <value>NoCase-insensitive substring match against the block id, name, and description.
--category <value>NoRestrict to one toolbar category. Accepted values: blocks, tools, triggers.
--capability <value>NoRestrict to blocks that can start a workflow — the triggers category, blocks declaring triggerAllowed, and blocks with trigger-mode fields. Accepted values: trigger.
--source <value>NoRestrict to shipped blocks or to this workspace’s deployed custom blocks. Accepted values: builtin, custom.
--sort-by <value>NoField used to sort the result. Sorting by name is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: id, name, category.
--sort-order <value>NoSort direction. Accepted values: asc, desc.
--limit <n>NoMaximum items to return (0 for everything). Defaults to 100.

On this page