Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 900 Bytes

config-set.mdx

File metadata and controls

52 lines (32 loc) · 900 Bytes

import CLISettings from '/docs/_clisettings.mdx'; import Global from '/docs/cmd/_global.mdx';

cli config set

Sets CLI for Microsoft 365 configuration options

Usage

m365 cli config set [options]

Options

`-k, --key <key>`
: Config key to specify

`-v, --value <value>`
: Config value to set

Available settings

Following is the list of configuration settings available in CLI for Microsoft 365.

Examples

Configure CLI to automatically display help when executing a command failed

m365 cli config set --key showHelpOnFailure --value true

Configure the default CLI output to JSON

m365 cli config set --key output --value json

Response

The command won't return a response on success.

More information