Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (12 sloc) 209 Bytes
import click
@click.group()
def cli():
pass
@cli.command()
def sub1():
click.echo('sub command1')
@cli.command()
def sub2():
click.echo('sub command2')
if __name__ == '__main__':
cli()
You can’t perform that action at this time.