Add -t/--template cli-arg
This commit is contained in:
parent
3f140b8d6a
commit
07b61d86ce
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue