@@ -59,6 +59,11 @@ When you run the command, it prompts you for the following information:
59
59
- ID of your project.
60
60
- Optional.
61
61
62
+ * - Default MongoDB Shell Path
63
+ - Path to |mongo| shell on your system. The default value is
64
+ ``/usr/local/bin/mongosh``.
65
+ - Optional.
66
+
62
67
{+mcli+} saves these settings as a profile in the :ref:`mcli-config-file`.
63
68
64
69
.. _mcli-config-command-syntax:
@@ -143,10 +148,11 @@ The following examples use the ``mongocli config`` command to:
143
148
144
149
~ mongocli config
145
150
146
- ? Public API Key: abcdefgh
151
+ ? Public API Key: [? for help] abcdefgh
147
152
? Private API Key: [? for help] ************************************
148
- ? Choose a default organization: Org1 (5c815cc7d5ec13092a02a1b2)
149
- ? Choose a default project: Project1 (5e5ebffd0c04a9700906c3d4)
153
+ ? Default Org ID: [? for help] 5c815cc7d5ec13092a02a1b2
154
+ ? Default Project ID: [? for help] 5e5ebffd0c04a9700906c3d4
155
+ ? Default MongoDB Shell Path: [? for help] /usr/local/bin/mongosh
150
156
151
157
**Example 2**
152
158
@@ -158,10 +164,11 @@ The following examples use the ``mongocli config`` command to:
158
164
159
165
~ mongocli config --profile Profile1
160
166
161
- ? Public API Key: abcdefgh
167
+ ? Public API Key: [? for help] abcdefgh
162
168
? Private API Key: [? for help] ************************************
163
- ? Choose a default organization: Org1 (5c815cc7d5ec13092a02a1b2)
164
- ? Choose a default project: Project1 (5e5ebffd0c04a9700906c3d4)
169
+ ? Default Org ID: [? for help] Org1 (5c815cc7d5ec13092a02a1b2)
170
+ ? Default Project ID: [? for help] Project1 (5e5ebffd0c04a9700906c3d4)
171
+ ? Default MongoDB Shell Path: [? for help] (/usr/local/bin/mongosh)
165
172
166
173
.. tab:: Cloud Manager
167
174
:tabid: cloud-manager
@@ -176,10 +183,10 @@ The following examples use the ``mongocli config`` command to:
176
183
177
184
~ mongocli config --service cloud-manager
178
185
179
- ? Public API Key: abcdefgh
186
+ ? Public API Key: [? for help] abcdefgh
180
187
? Private API Key: [? for help] ************************************
181
- ? Choose a default organization: Org1 (5c815cc7d5ec13092a02a1b2)
182
- ? Choose a default project: Project1 (5e5ebffd0c04a9700906c3d4)
188
+ ? Default Org ID: [? for help] Org1 (5c815cc7d5ec13092a02a1b2)
189
+ ? Default Project ID: [? for help] Project1 (5e5ebffd0c04a9700906c3d4)
183
190
184
191
**Example 2**
185
192
@@ -191,10 +198,10 @@ The following examples use the ``mongocli config`` command to:
191
198
192
199
~ mongocli config --service cloud-manager --profile Profile1
193
200
194
- ? Public API Key: abcdefgh
201
+ ? Public API Key: [? for help] abcdefgh
195
202
? Private API Key: [? for help] ************************************
196
- ? Choose a default organization: Org1 (5c815cc7d5ec13092a02a1b2)
197
- ? Choose a default project: Project1 (5e5ebffd0c04a9700906c3d4)
203
+ ? Default Org ID: [? for help] Org1 (5c815cc7d5ec13092a02a1b2)
204
+ ? Default Project ID: [? for help] Project1 (5e5ebffd0c04a9700906c3d4)
198
205
199
206
.. tab:: Ops Manager
200
207
:tabid: ops-manager
@@ -210,10 +217,10 @@ The following examples use the ``mongocli config`` command to:
210
217
~ mongocli config --service ops-manager
211
218
212
219
? URL to Access Ops Manager: https://mms.example.com:8080/
213
- ? Public API Key: abcdefgh
220
+ ? Public API Key: [? for help] abcdefgh
214
221
? Private API Key: [? for help] ************************************
215
- ? Choose a default organization: Org1 (5c815cc7d5ec13092a02a1b2)
216
- ? Choose a default project: Project1 (5e5ebffd0c04a9700906c3d4)
222
+ ? Default Org ID: [? for help] Org1 (5c815cc7d5ec13092a02a1b2)
223
+ ? Default Project ID: [? for help] Project1 (5e5ebffd0c04a9700906c3d4)
217
224
218
225
**Example 2**
219
226
@@ -226,7 +233,7 @@ The following examples use the ``mongocli config`` command to:
226
233
mongocli config --service ops-manager --profile Profile1
227
234
228
235
? URL to Access Ops Manager: https://mms.example.com:8080/
229
- ? Public API Key: abcdefgh
236
+ ? Public API Key: [? for help] abcdefgh
230
237
? Private API Key: [? for help] ************************************
231
- ? Choose a default organization: Org1 (5c815cc7d5ec13092a02a1b2)
232
- ? Choose a default project: Project1 (5e5ebffd0c04a9700906c3d4)
238
+ ? Default Org ID:[? for help] Org1 (5c815cc7d5ec13092a02a1b2)
239
+ ? Default Project ID:[? for help] Project1 (5e5ebffd0c04a9700906c3d4)
0 commit comments