mint run

Start a new run on Mint

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

Usage

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

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

Examples

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

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

Options

--file <config-file>

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

--dir <definitions-directory>

The directory that contains your run definitions. By default, the CLI will look for .mint in the current directory and traverse upward until it finds a .mint 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, Mint will not read from the cache during the Mint run.

--open

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

--title <title>

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

--debug

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