Add -t/--template cli-arg

This commit is contained in:
Thor77 2016-08-10 22:44:48 +02:00
parent 3f140b8d6a
commit 07b61d86ce
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ def cli():
help='don\'t add connect until now to onlinetime',
action='store_false', dest='onlinedc'
)
parser.add_argument(
'-t', '--template',
type=str, help='path to custom template'
)
options = parser.parse_args()
if 'config' in options:
configuration = config.load(options.config)