Skip to content
Snippets Groups Projects
Commit 46c0b229 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

draft of contribute script

parent 050f5424
No related branches found
No related tags found
No related merge requests found
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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment