通过指定 click.option 中的 prompt 可以实现。 ... @click.command() @click.option('--name', prompt=True) def hello(name): click.echo(f'Hello {name}! ...
確定! 回上一頁