Example #1
0
def config_set_projects(args) -> None:
    """Clowder config set projects command entry point"""

    CONSOLE.stdout(' - Set projects config value')
    config = Config()
    config.projects = tuple(args.projects)
    config.save()
Example #2
0
def config_clear_projects(_) -> None:
    """Clowder config clear projects command entry point"""

    CONSOLE.stdout(' - Clear projects config value')
    config = Config()
    config.projects = None
    config.save()