workflows versions defaults update
Update workflow defaults for a given default ID
Synopsis
Update Workflow Defaults
omics workbench workflows versions defaults update DEFAULT_ID
[--namespace=NAMESPACE]
[--workflow=WORKFLOW_ID]
[--version=VERSION_ID]
[--name=NAME]
[--engine=ENGINE]
[--provider=PROVIDER]
[--region=REGION]
[--values=VALUES]
Description
Update an existing workflow default for a given default ID. Updating completely replaces the old defaults. You can modify properties like name, engine, provider, region, or values for the specified workflow default.
Examples
Update the name and values of a workflow default:
omics workbench workflows versions defaults update default-id-1 --name new-default-name --values '{"input1": "new_value"}'
Update the engine and provider of a workflow default:
omics workbench workflows versions defaults update default-id-1 --name "foo" --provider new-provider --values @defaults.json
Positional Arguments
DEFAULT_ID
=STRING
DEFAULT_ID
=STRING
The ID of the workflow default to be updated. This positional argument is required.
Flags
--namespace
=STRING
--namespace
=STRING
An optional flag to define the namespace to connect to. By default, the namespace is extracted from the user's credentials.
--workflow
=STRING
--workflow
=STRING
The ID of the workflow for which the defaults will be updated.
--version
=STRING
--version
=STRING
The ID of the workflow version for which the defaults will be updated.
--name
=STRING
--name
=STRING
The new name for the workflow default.
--engine
=STRING
--engine
=STRING
The selector to use when updating the defaults. This can be used to target a specific execution engine.
--provider
=STRING
--provider
=STRING
The provider selector to use when updating the defaults. This helps in specifying the backend provider.
--region
=STRING
--region
=STRING
The region selector to use when updating the defaults. This helps in specifying the region for execution.
--values
=JSON
--values
=JSON
The configuration values to use when updating the defaults. This must be a non-empty JSON object that contains key-value pairs for the workflow inputs.
Last updated
Was this helpful?