title | description |
---|---|
format:write - CLI command |
Overwrite un-formatted files |
Overwrite un-formatted files
nx format:write
Install nx
globally to invoke the command directly using nx
, or use npx nx
, yarn nx
, or pnpm nx
.
Type: boolean
Format all projects
Type: string
Base of the current branch (usually main)
Type: string
Exclude certain projects from being processed
Type: string
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces
Type: string
Latest commit of the current branch (usually HEAD)
Type: boolean
Show help
Type: boolean
Format only libraries and applications files.
Type: string
Projects to format (comma/space delimited)
Type: boolean
Uncommitted changes
Type: boolean
Untracked changes
Type: boolean
Show version number