mirror of
https://github.com/autistic-symposium/web3-starter-py.git
synced 2025-05-17 22:20:22 -04:00
32 lines
612 B
Python
32 lines
612 B
Python
#!/usr/bin/env python3
|
|
|
|
import click
|
|
|
|
|
|
@click.command()
|
|
|
|
@click.option('-s',
|
|
'--source',
|
|
default='dev',
|
|
nargs=1,
|
|
show_default=True,
|
|
help='Some source string.')
|
|
|
|
@click.option('-t',
|
|
'--target',
|
|
default='staging',
|
|
nargs=1,
|
|
show_default=True,
|
|
help='Some target string.')
|
|
|
|
@click.option('-p',
|
|
'--services',
|
|
required=True)
|
|
|
|
|
|
def main(source, target, services):
|
|
print(source, target, services)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main(source, target, services)
|