【发布时间】:2020-10-11 03:29:40
【问题描述】:
我使用Typer 和Pillow 制作了一个简单的CLI 来更改图像不透明度,而这个程序只有一个选项:不透明度。
但是当我运行 python opacity.py --help 时,它给了我两个 typerCLI 选项:
Options:
--install-completion [bash|zsh|fish|powershell|pwsh]
Install completion for the specified
shell.
--show-completion [bash|zsh|fish|powershell|pwsh]
Show completion for the specified
shell, to copy it or customize the
installation.
--help Show this message and exit.
有办法禁用它吗?我在文档上没有找到。
【问题讨论】:
标签: python python-imaging-library typer