PROFILE LIST
Description
Lists the server connection profiles configured on the client.
Usage
cm profile [list | ls] [--format=<str_format>]
Options
Option / Argument | Description |
---|---|
--format | Retrieves the output message in a specific format. See Remarks for more info. |
Help
Remarks
Output format parameters (--format option)
This command accepts a format string to show the output.
The output parameters of this command are the following
Option / Argument | Description |
---|---|
{index} | {0} | Profile index in the profiles list |
{name} | {1} | Profile name |
{server} | {2} | Profile server |
{user} | {3} | Profile user |
{workingmode} | {4} | Profile working mode |
{securityconfig} | {5} | Profile security config |
{tab} | Inserts a tab space |
{newline} | Inserts a new line |
Examples
cm profile
(Lists all the profiles using the default format)
cm profile --format="{index,2} {server,-20}"
(Writes the profile index in 2 spaces, aligned to the right, then two blanks, and then the repository server in 20 spaces, aligned to the left.)
cm profile --format="{0,2} {2,-20}" (Writes the same output as the previous example.)