python argparse corss sub-command option

后端 未结 0 329
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-18 18:12

using argparse, i am trying to create an optional argument which is available globally (in all commands and sub-commands).

for instance, setting a --verbose

相关标签:
回答
  • 消灭零回复
提交回复
热议问题