🛠 Commit simple boilerplate

This commit is contained in:
MvS 2019-12-03 19:54:40 -08:00
parent 30fa78c7d9
commit 8270d63489
8 changed files with 123 additions and 2 deletions

1
yourapp/__init__.py Normal file
View file

@ -0,0 +1 @@
#!/usr/bin/env python3

34
yourapp/yourapp.py Normal file
View file

@ -0,0 +1,34 @@
#!/usr/bin/env python3
import os
import re
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)