get_groups
すべてのグループをリストします。
書式
emcli get_groups
[-noheader]
[-script | -format=
[name:<pretty|script|csv>];
[column_separator:<column_sep_string>];
[row_separator:<row_sep_string>];
]
[ ] indicates that the parameter is optionalオプション
-
noheader
列見出しのない表形式の情報を表示します。
-
script
これは、
-format="name:script"と同じです。 -
format
書式指定(デフォルトは
-format="name:pretty")。-
format="name:pretty"は、スクリプトによる解析を目的としない読取り可能な書式で出力表を出力します。 -
format="name:script"は、デフォルトの列セパレータをタブに、デフォルトの行セパレータを改行に設定します。列および行セパレータの文字列を指定して、これらのデフォルトを変更できます。 -
format="name:csv"は、列セパレータをカンマに、行セパレータを改行に設定します。 -
format=column_separator:"column_sep_string"は、verb出力の列を<column_sep_string>で区切ります。行は改行で区切られます。 -
row_separator:"row_sep_string"は、verb出力の行を<row_sep_string>で区切ります。行はタブ文字で区切られます。
-
出力列
ターゲット名、ターゲット・タイプ
例
この例では、すべてのグループをリストします。
emcli get_groups