diff --git a/contribute.py b/contribute.py new file mode 100644 index 0000000000000000000000000000000000000000..1081fdb99847c1cfde08997bfe81f350098ce529 --- /dev/null +++ b/contribute.py @@ -0,0 +1,14 @@ +import click +import datetime + +@click.command() +@click.option('--date', default=datetime.datetime.today().strftime('%Y-%m-%d'), help='Date of the presentation - format: YYYY-MM-DD') +@click.option('--name', default='myPresentation', help='Short name of the presentation.') + +def copyTemplate(date, name): + """Copies the template folder""" + click.echo(' > Date: {0}' . format(date)) + click.echo(' > Name: {0}' . format(name)) + +if __name__ == '__main__': + copyTemplate()