Exemple #1
0
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()
Exemple #2
0
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()