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
673 B
673 B
dep-graph
Graph dependencies within workspace
Usage
dep-graph
Options
all
All projects
base
Base of the current branch (usually master)
exclude
Default: ``
Exclude certain projects from being processed
file
output file (e.g. --file=.vis/output.json)
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