Споделяне чрез


setting

Important

This is the Azure Sphere (Legacy) documentation. Azure Sphere (Legacy) is retiring on 27 September 2027, and users must migrate to Azure Sphere (Integrated) by this time. Use the Version selector located above the TOC to view the Azure Sphere (Integrated) documentation.

Manages Azure Sphere CLI settings.

Operation Description
list Lists the Azure Sphere CLI settings.
no-color Manages color setting for messages in Azure Sphere CLI.

list

Lists the Azure Sphere CLI settings.

Example

azsphere setting list
 -------- -----
 Name     Value
 ==============
 no_color false
 -------- -----

no-color

Manages color setting for messages in Azure Sphere CLI.

Operation Description
get Gets the Azure Sphere CLI color setting.
set Applies or removes color setting for Azure Sphere CLI messages.

get

Gets the Azure Sphere CLI color setting.

Example

azsphere setting no-color get
 -------- -----
 Name     Value
 ==============
 no_color false
 -------- -----

set

Sets the Azure Sphere CLI color setting.

Required parameters

Parameter Type Description
--enable String Removes colored messages. Originally colored messages are prefixed with DEBUG, INFO, WARNING, and ERROR.
--disable String Displays colored messages.

Example

Removes colored messages.

azsphere setting no-color set --enable

Displays colored messages.

azsphere setting no-color set --disable