Options for configuring CLI behavior, such as command line aliases.
Register command line aliases.
[cli.alias] green = "fmt lint check" all-changed = "--changed-since=HEAD --changed-dependees=transitive"
This would allow you to run
./pants green all-changed, which is shorthand for
./pants fmt lint check --changed-since=HEAD --changed-dependees=transitive.
Notice: this option must be placed in a config file (e.g.
pantsrc) to have any effect.
Updated 5 months ago