36 lines
716 B
Python
Executable File
36 lines
716 B
Python
Executable File
|
|
import vfx_classes
|
|
import vfx_functions
|
|
import vfx_conf
|
|
import sys
|
|
|
|
|
|
vfx_functions.setWorkingPath(vfx_conf.path_wip)
|
|
|
|
|
|
x = 0
|
|
arg_a = []
|
|
|
|
|
|
while (x < (len(sys.argv))):
|
|
arg_a = arg_a + sys.argv[x].split(" ")
|
|
x = x + 1
|
|
|
|
|
|
if len(arg_a) == 1:
|
|
vfx_functions.menuLoop()
|
|
|
|
else:
|
|
print arg_a;
|
|
|
|
if len(arg_a) == 2: vfx_functions.runCommand(arg_a[1])
|
|
if len(arg_a) == 3: vfx_functions.runCommand(arg_a[1], arg_a[2])
|
|
if len(arg_a) == 4: vfx_functions.runCommand(arg_a[1], arg_a[2], arg_a[3])
|
|
if len(arg_a) == 5: vfx_functions.runCommand(arg_a[1], arg_a[2], arg_a[3], arg_a[4])
|
|
|
|
|
|
if len(arg_a) > 2 and arg_a[len(arg_a) - 1] == "1":
|
|
raw_input("\n[DONE - PRESS ENTER TO QUIT!] ")
|
|
|
|
|