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

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