rwx lint

Lint RWX configuration files.

Usage

rwx lint [flags] [file...]

Arguments

[file...]

One or more RWX configuration files to lint. If not specified, lints all files in the .rwx directory.

Options

--fix

Automatically apply available fixes.

-d, --dir <directory>

The directory your RWX configuration files are located in, typically .rwx. By default, the CLI traverses up until it finds a .rwx directory.

-o, --output <format>

Output format: text, multiline, oneline, json, or none. Defaults to multiline.

--timeout <duration>

Timeout for the lint operation. Defaults to 30s.

--warnings-as-errors

Treat warnings as errors.

Global Options

--access-token <token>

The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.