DEV Community

Discussion on: Building Command-Line Applications with Python

Collapse
notsag profile image
Maxime Gaston

Click makes you save a lot of time by using decorators :
@click.command()
@click.option('--parameter', '-p', help='your parameter')
def myfunction(myparameter):
print(myparameter)

I'll stop here not to spoil @wangonya 's article 😉

Still great topic!