Пример #1
0
def cmd_distribute(options, other_args):
    root = Root()
    return root.distribute()
Пример #2
0
def cmd_clean(options, other_args):
    root = Root()
    root.clean()

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