如果你的选项需要多个参数,Click也能帮你实现这个需求。 @click.command()@click.option('--pos', nargs=2, type=float)def findme(pos): a ...
確定! 回上一頁