def config_set_protocol(args) -> None: """Clowder config set protocol command entry point""" CONSOLE.stdout(' - Set protocol config value') config = Config() config.protocol = GitProtocol(args.protocol[0]) config.save()
def config_clear_protocol(_) -> None: """Clowder config clear protocol command entry point""" CONSOLE.stdout(' - Clear protocol config value') config = Config() config.protocol = None config.save()