Skip to content

RunOptions

Defined in: cli/astromech/src/astromech.type.ts:53

Options for Astromech.run: which word follows the task, what to forward, and how to scope the turbo run.

optional affected?: boolean

Defined in: cli/astromech/src/astromech.type.ts:76

turbo --affected: only the packages changed since base.


optional args?: string[]

Defined in: cli/astromech/src/astromech.type.ts:64

Further positional words after task and job. All the words together name the task: holocron run test unit storybook is task: "test", job: "unit", args: ["storybook"], and the longest match against the registry (test:unit) leaves storybook as an argument for the task.


optional base?: string

Defined in: cli/astromech/src/astromech.type.ts:78

Git ref affected compares against.


optional check?: boolean

Defined in: cli/astromech/src/astromech.type.ts:68

The read-only form of a task that writes by default: format --check runs prettier without writing.


optional dryRun?: boolean

Defined in: cli/astromech/src/astromech.type.ts:70

Print the resolved command without running it.


optional filter?: string

Defined in: cli/astromech/src/astromech.type.ts:74

turbo --filter=<pkg> passthrough (monorepo).


optional job?: string

Defined in: cli/astromech/src/astromech.type.ts:58

The word after task, part of the task’s name when the two together name a leaf (unit in holocron run test unit), else forwarded to the task as an argument.


optional passthrough?: string[]

Defined in: cli/astromech/src/astromech.type.ts:66

Args after --, forwarded to the tool / turbo / script.


optional required?: boolean

Defined in: cli/astromech/src/astromech.type.ts:72

Fail (exit 1) instead of skipping when the repo has no such task.