Example #1
0
def reset_config(ctx, field_name):
    controller = ConfigController(ctx.obj)
    controller.reset(field_name)
Example #2
0
def get_config(ctx, field_name):
    controller = ConfigController(ctx.obj)
    value = controller.get(field_name)
    click.echo(value)
Example #3
0
def set_config(ctx, field_name, value):
    controller = ConfigController(ctx.obj)
    controller.set(field_name, value)
Example #4
0
def auth(ctx, auth_token):
    controller = ConfigController(ctx.obj)
    controller.set_auth(auth_token)