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

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

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