Tasks

Run pre-defined crate configuration tasks

Basic Usage

Terminal
talos task [options...] <tasks>

Glob Patterns

This subcommand uses glob-like patterns for matching tasks. As such, requesting build:* would build all items that start with build:, such as build:alpha, build:beta and build:delta.

Execution Options

--filter

filters the available workspace(s) in which to find an execute the following tasks. Useful for applying tasks to specific or multiple workspaces by name/globs.

--quiet or --verbose

Disables and enables the diagnostic outputs. This can be useful for removing or including diagnostics when running tasks.

-s, --seq or --sequential

Runs all the following tasks in sequential order.

Terminal
# The following task request...
talos task clean lint build

# ...would be similar to this!
talos task clean && talos task lint && talos task build

-p, --par or --parallel

Runs all the following tasks in parallel order.

Terminal
# The following task request...
talos task --parallel clean lint build

# ...would be similar to this!
talos task clean & talos task lint & talos task build

It also entails that we can run tasks sequentially and in parallel like so:

Terminal
talos task clean -p build:* -s start:*

On this page