run
Execute specified task in projects
Usage
omni run [OPTIONS] <task> [args]
Positional arguments
<task>
The task to run
- Required: Yes
[args]
The arguments to pass to the task
- Required: No
Options
-i
, --ignore-dependencies
, ignore-deps
Run the command without dependencies
-
Required: No
-
Default:
false
-
Possible values:
true
,false
-o
, --on-failure
How to handle failures
-
Required: No
-
Default:
skip-dependents
-
Possible values:
continue
,skip-next-batches
,skip-dependents
--no-cache
Don't save the execution result to the cache
-
Required: No
-
Default:
false
-
Possible values:
true
,false
-L
, --no-replay-logs
Don't replay the logs of cached task executions
-
Required: No
-
Possible values:
true
,false
-f
, --force
Force execution of the task, even if it's already cached
-
Required: No
-
Default:
false
-
Possible values:
true
,false
-m
, --meta
Filter the task/projects based on the meta configuration. Use the syntax of the CEL expression language
- Required: No
-p
, --project
Run the command based on the project name matching the filter
- Required: No
-c
, --max-concurrency
How many concurrent tasks to run
- Required: No
-d
, --dry-run
Don't execute the task, just print the command to be executed
-
Required: No
-
Default:
false
-
Possible values:
true
,false
--result
Output the results of the execution to the specified file
- Required: No
--result-format
Output the results of the execution in the specified format, if not specified, the format will be inferred from the file extension
-
Required: No
-
Possible values:
json
,yaml
,toml
-u
, --ui
Ui mode to use while running the command
-
Required: No
-
Possible values:
stream
,tui
Examples
omni run [OPTIONS] <task> [args]