-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.py
More file actions
28 lines (23 loc) · 779 Bytes
/
Copy pathmain.py
File metadata and controls
28 lines (23 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# main.py
# Copyright (C) 2020 Stefan Gal (stefan.mail.sk@gmail.com) and contributors
#
# This module is part of NewPy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
import click
from newpy.cli_builder import Builder
@click.command()
@click.option('--p',
default='project',
prompt='The project name: ',
help='Directory & project name.')
@click.option('--l',
default='mit',
prompt='The license type: ',
help="License type")
@click.option('--g',
help="Github access token to open private github repository")
def startnew(p, l, g):
build = Builder(p, l, g)
build.build_license(l)
# if __name__ == "__main__":
# startnew()