Blink CLI Automations
Create and execute your automations.
Execute Automation
Executes a complete automation - in sync or async mode.
blink automations execute [flags]
Flag | Description |
---|---|
--id | Automation's ID (Required). |
--inputs | Optional json string for [inputs]. For example: '{''input_values'': {''key'':''value''}}'. |
Automation History
Returns the list of audit commands per an execution.
blink automations history [flags]
Flag | Description |
---|---|
--id | Execution's ID (Required). |
Search Automation
Returns automations by a filter.
blink automations search [flags]
Flag | Description |
---|---|
--q | Query search string, for example: '{"limit": 25, "offset": 0, "filter": {"name": {"$gt": "k8s"}}}' (Required, filter is optional). |
Create Automation
Creates an automation from a given YAML file.
blink automations create [flags]
Flag | Description |
---|---|
-f, --file | Path to the automation file (Required). |
-p, --pack-name | Name of an automation pack to create the automation in. |
-a, --publish | Publish and activate the automation (Default: true). |
Delete Automation
Deletes an automation by name or id.
blink automations delete [flags]
Flag | Description |
---|---|
-i, --id | Automation's ID. |
-n, --name | Automation's Name. |
Get Automation
Gets an automation by name or id.
blink automations get [flags]
Flag | Description |
---|---|
-i, --id | Automation's ID. |
-n, --name | Automation's Name. |
List Automations
List all available automations.
blink automations list
Update Automation
Updates an automation from a given YAML file.
blink automations update [flags]
Flag | Description |
---|---|
-f, --file | Path to the automation file (Required). |
-p, --pack-name | Name of an automation pack to create the automation in. |
-a, --publish | Publish and activate the automation (Default: true). |