rwx run
Start a new run on RWX.
By default, rwx run includes changes to run definitions in your definitions directory (usually .rwx/).
If run inside a git repository, rwx run also includes local changes to your code. RWX does not include changes ignored by your .gitignore settings, changes to untracked files, or changes to git-lfs tracked files. You can disable this behavior by setting the $RWX_DISABLE_GIT_PATCH environment variable.
Usage
rwx run [flags]
Examples
Running all tasks defined in .rwx/ci.yml:
rwx run .rwx/ci.yml
Running a specific task named test, and all of its dependencies, defined in .rwx/ci.yml:
rwx run .rwx/ci.yml --target test
Options
<file>
(required) The path to a specific RWX run definition file to run
--target <task-key>
The name of a specific task to run, along with all of its dependencies. If not provided, RWX will execute all tasks in the file. You can specific --target multiple times to target multiple tasks and their dependencies.
--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.