in bonsaicli2/bonsai_cli/commands/bonsai.py [0:0]
def _set_color(ctx: click.Context, value: str):
"""Set use_color flag in bonsai config"""
if value is None or ctx.resilient_parsing:
return
# no need for AAD authentication if only setting color
config = Config(use_aad=False)
if value:
config.update(use_color=True)
else:
config.update(use_color=False)
ctx.exit()