def handle_branch(self, branch_name, **options): self.checkout(branch_name, options['origin'], boolval(options['db']))
def handle_branch(self, command, branch_name, **options): if command == 'create': self.create(branch_name, options['origin'], boolval(options['db'])) elif command == 'delete': self.delete(branch_name, options['origin'], boolval(options['db']))