first commit
This commit is contained in:
28
python3-vckonline/lib/python3.8/site-packages/pop/scripts.py
Normal file
28
python3-vckonline/lib/python3.8/site-packages/pop/scripts.py
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import pop.hub
|
||||
|
||||
|
||||
def pop_seed():
|
||||
CONFIG = {
|
||||
"seed_name": {
|
||||
"positional": True,
|
||||
"help": "The name of the project that is being created",
|
||||
},
|
||||
"type": {
|
||||
"default": "p",
|
||||
"options": ["-t"],
|
||||
"help": 'The type of project to build, by default make a standalone project, but for a vetical app project pass a "v"',
|
||||
},
|
||||
"dyne": {
|
||||
"options": ["-d"],
|
||||
"default": [],
|
||||
"nargs": "*",
|
||||
"help": "A space delimited list of additional dynamic names for vertical app-merging",
|
||||
},
|
||||
}
|
||||
|
||||
hub = pop.hub.Hub()
|
||||
hub.pop.sub.add("pop.mods.conf")
|
||||
hub.opts = hub.conf.reader.read(CONFIG)
|
||||
hub.pop.seed.new()
|
||||
Reference in New Issue
Block a user