Documentation menu

Commands

flog run

Run a package.json script, optionally across workspaces.

Usage#

flog run [options] <script> [-- arguments]

Examples#

flog run test
flog run test -- --watch
flog run --recursive --if-present test

Options and behaviour#

Arguments after -- are passed to the script. Select workspaces with --recursive (-r), --workspace, or --cwd. Expand the graph with --include-dependencies or --include-dependents.

Execution and reporting controls include --if-present, --no-bail, --jobs, --stream, and --json. Run flog help run for complete current help.

Scripts and binaries · Build · Local binaries