当你在没有选项的情况下运行 ./pants 时,你会得到帮助:
$ ./pants help
Pants 0.0.32 https://pypi.python.org/pypi/pantsbuild.pants/0.0.32
Usage:
./pants [option ...] [goal ...] [target...] Attempt the specified goals.
./pants help Get help.
./pants help [goal] Get help for a goal.
./pants help-advanced [goal] Get help for a goal's advanced options.
./pants help-all Get help for all goals.
./pants goals List all installed goals.
我注意到你也可以看到他们的--help-advanced
旗帜。
为什么有些类似下面的标记为“(高级)”?
(ADVANCED)
--pants-bootstrapdir <dir>
Use this dir for global cache. (default:
/Users/zundel/.cache/pants)
(ADVANCED)
--pants-configdir <dir>
Use this dir for global config files. (default:
/Users/zundel/.config/pants)