Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

stacy task

Run tasks from stacy.toml

Synopsis

stacy task <TASK> [OPTIONS]

Description

Runs named tasks defined in stacy.toml. Tasks are like npm scripts—define sequences of commands once and run them by name. Use --list to see available tasks.

Arguments

ArgumentDescription
<TASK>Task name to run

Options

OptionDescription
--frozenFail if lockfile doesn’t match stacy.toml
--listList available tasks

Examples

Run a task

stacy task build

List available tasks

stacy task --list

Exit Codes

CodeMeaning
0Success
1Task failed
5Task not found

See Exit Codes Reference for details.

See Also