Skip to content

Enhancement: cli config set --key output #2246

@plamber

Description

@plamber

Usage

cli config set

Description

Allow the configuration of the standard output option provided by the CLI. Different scenarios require different standard output configurations. Scripting uses for example a lot of JSON output for manipulation. Setting this option at the beginning of every script could be a simplification of these scripts.

This configuration will overwrite the of each command if not explicitly specified in the parameters. If no configuration is set, the default option text will be chosen.

Options

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

Additional information

This should be tackled once #1945 is successfully implemented

All executed commands should follow the settings configured over the cli config set --key output. The default remains text

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions