Esempio n. 1
0
def cmd_distribute(options, other_args):
    root = Root()
    return root.distribute()
Esempio n. 2
0
def cmd_clean(options, other_args):
    root = Root()
    root.clean()

    return True
Esempio n. 3
0
def cmd_setup(options, other_args):
    root = Root()
    return root.setup()
Esempio n. 4
0
def cmd_shell(options, other_args):
    root = Root()
    return root.run("/bin/bash", as_root=options.root)
Esempio n. 5
0
def cmd_run(options, other_args):
    root = Root()
    return root.run(" ".join(other_args), as_root=options.root)
Esempio n. 6
0
def cmd_create(options, other_args):
    root = Root()
    return root.create(options.arch, options.mirror)