Skip to main content

Blink CLI Workflows

Create and execute your Workflows.

Execute Workflows

Executes a complete Workflow - in sync or async mode.

blink automations execute [flags]
FlagDescription
--idAutomation's ID (Required).
--inputsOptional json string for [inputs]. For example: '{''input_values'': {''key'':''value''}}'.

Workflow History

Returns the list of audit commands per an execution.

blink automations history [flags]
FlagDescription
--idExecution's ID (Required).

Search Workflow

Returns Workflows by a filter.

blink automations search [flags]
FlagDescription
--qQuery search string, for example: '{"limit": 25, "offset": 0, "filter": {"name": {"$gt": "k8s"}}}' (Required, filter is optional).

Create Workflow

Creates a Workflow from a given YAML file.

blink automations create [flags]
FlagDescription
-f, --filePath to the workflow file (Required).
-p, --pack-nameName of a workflow pack to create the workflow in.
-a, --publishPublish and activate the workflow (Default: true).

Delete Workflow

Deletes a workflow by name or id.

blink automations delete [flags]
FlagDescription
-i, --idWorkflow's ID.
-n, --nameWorkflow's Name.

Get Workflow

Gets a Workflow by name or id.

blink automations get [flags]
FlagDescription
-i, --idWorkflow's ID.
-n, --nameWorkflow's Name.

List Workflow

List all available Workflows.

blink automations list

Update Workflow

Updates a Workflow from a given YAML file.

blink automations update [flags]
FlagDescription
-f, --filePath to the Workflow file (Required).
-p, --pack-nameName of a Workflow pack to create the Workflow in.
-a, --publishPublish and activate the Workflow (Default: true).