def cmd_distribute(options, other_args): root = Root() return root.distribute()
def cmd_clean(options, other_args): root = Root() root.clean() return True
def cmd_setup(options, other_args): root = Root() return root.setup()
def cmd_shell(options, other_args): root = Root() return root.run("/bin/bash", as_root=options.root)
def cmd_run(options, other_args): root = Root() return root.run(" ".join(other_args), as_root=options.root)
def cmd_create(options, other_args): root = Root() return root.create(options.arch, options.mirror)