nx/docs/api-workspace/npmscripts/format-write.md
Bucky Maler 07d963befd fix(nx): npm scripts documentation generation
Before, a single instance of yargs was accumulating options, so commands parsed later would have options from prior commands. That's because all yargs options are global by default. Now, a new instance of yargs is required before each command is parsed, so global options aren't accumulated.

fixes #1567
2019-08-06 14:27:31 -04:00

637 B

format:write

Overwrite un-formatted files

Usage

format:write

Options

all

All projects

apps-and-libs

base

Base of the current branch (usually master)

exclude

Default: ``

Exclude certain projects from being processed

files

A list of files delimited by commas

head

Latest commit of the current branch (usually HEAD)

help

Show help

only-failed

Default: false

Isolate projects which previously failed

uncommitted

Uncommitted changes

untracked

Untracked changes

verbose

Print additional error stack trace on failure

version

Show version number