File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,33 @@ The {+mcli+} supports the following environment variables:
8080 * - ``ops-manager``
8181 - |mms-full|
8282
83+ * - ``MCLI_OUTPUT``
84+ - Sets the output fields and format. Valid values are:
85+
86+ .. list-table::
87+ :header-rows: 1
88+ :widths: 40 60
89+
90+ * - Value
91+ - Output Format
92+
93+ * - | Empty
94+ | *default*
95+ - Human-readable output that includes all fields that {+mcli+} returns.
96+
97+ * - ``json``
98+ - JSON output that includes all fields that {+mcli+} returns.
99+
100+ * - ``json-path``
101+ - JSON output that includes the :doc:`fields that you specify </reference/json-path>`.
102+
103+ * - ``go-template``
104+ - Custom-formatted output that includes the :doc:`fields
105+ that you specify in a Go template </configure/go-template-output>`.
106+
107+ * - ``MCLI_MONGOSH_PATH``
108+ - The full path on your local system to the |mongo| shell.
109+
83110 * - | ``MCLI_OPS_MANAGER_CA_CERTIFICATE``
84111 | *Ops Manager only*
85112 - If applicable, the full path on your local
You can’t perform that action at this time.
0 commit comments