rwx run

Start a new run on RWX

By default, rwx reads task definitions from the definitions directory (usually .rwx/).

Usage

rwx run --file  [flags] [task-name]

If task-name is not provided, RWX will execute the entire run in the file.

Examples

Running a task named test, and all of its dependencies, defined in .rwx/ci.yml:

rwx run test --file .rwx/ci.yml

Options

--file <config-file>

(required) The path to a specific RWX run definition file to run

--dir <definitions-directory>

The directory that contains your run definitions. By default, the CLI will look for .rwx in the current directory and traverse upward until it finds a .rwx directory.

--init <key=value>

Initialization parameters for the run which will be made available in the init context. You can specify --init multiple times.

--json

When specified, JSON will be emitted to stdout instead of plain text.

--no-cache

When specified, RWX will not read from the cache during the RWX run.

--open

When specified, RWX will automatically open the run's results in your default browser.

--title <title>

The title to use for the run in the RWX UI.

--debug

When specified, the RWX CLI will poll until a rwx-breakpoint is triggered in the run and then automatically start a remote debugging session connected to that breakpoint.