def branch(args) -> None: """Clowder branch command private implementation""" if args.remote: local = False remote = True elif args.all: local = True remote = True else: local = True remote = False projects = Config().process_projects_arg(args.projects) projects = CLOWDER_CONTROLLER.filter_projects(CLOWDER_CONTROLLER.projects, projects) for project in projects: CONSOLE.stdout(project.status()) project.branch(local=local, remote=remote)