Group
mg config : Manage Microsoft Graph CLI configuration.
WARNING: This command group is experimental and under development. Reference and support
levels: https://aka.ms/CLI_refstatus
Subgroups:
param-persist : Manage parameter persistence.
Commands:
get : Get a configuration.
set : Set a configuration.
unset : Unset a configuration.
Notes
The config command module provides functionality for users to control the CLI's output color, telemetry collection, and logging to file.
Disable color with `core.no_color`.
mg config set core.no_color=true
Hide warnings and only show errors with `core.only_show_errors`.
mg config set core.only_show_errors=true
Turn on client-side telemetry.
mg config set core.collect_telemetry=true
Turn on file logging and set its location.
mg config set logging.enable_log_file=true
mg config set logging.log_dir=~/az-logs
Testing Instructions
Run ./mg config -h to see the set of available commands
Overview
Integrates config command module from Azure CLI
Demo
Notes
The config command module provides functionality for users to control the CLI's output color, telemetry collection, and logging to file.
Testing Instructions
./mg config -h
to see the set of available commandsFixes #140
Microsoft Reviewers: Open in CodeFlow