Skip to content

Commit 2c3d234

Browse files
(DOCSP-18311): mongo -> mongosh in mongocli (#622)
* (DOCSP-18311): mongo -> mongosh in mongocli * (DOCSP-18311): add redirects for atlas quick start
1 parent 9f9a238 commit 2c3d234

File tree

8 files changed

+21
-10
lines changed

8 files changed

+21
-10
lines changed

config/redirects

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ raw: mongocli/ -> ${base}/stable/
312312
[v1.17-*]: mongocli/${version}/reference/ops-manager/version-manifest-commands -> ${base}/${version}/command/mongocli-ops-manager-versionManifest/
313313
[v1.17-*]: mongocli/${version}/reference/ops-manager/versionmanifest-update -> ${base}/${version}/command/mongocli-ops-manager-versionManifest-update/
314314

315+
# v1.14 and earlier
316+
[*-v1.14]: mongocli/${version}/quick-start/atlas -> ${base}/${version}/quick-start/
317+
315318
# For v1.4 and later
316319
[v1.4.0-*]: mongocli/${version}/reference/iam-organization-create -> ${base}/${version}/reference/iam/iam-organization-create/
317320
[v1.4.0-*]: mongocli/${version}/reference/iam-organization-delete -> ${base}/${version}/reference/iam/iam-organization-delete/

snooty.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name = "mongocli"
22
title = "MongoDB Command Line Interface"
33

4-
intersphinx = ["https://docs.opsmanager.mongodb.com/current/objects.inv", "https://docs.mongodb.com/manual/objects.inv",
5-
"https://docs.atlas.mongodb.com/objects.inv"]
4+
intersphinx = [ "https://docs.opsmanager.mongodb.com/current/objects.inv",
5+
"https://docs.mongodb.com/manual/objects.inv",
6+
"https://docs.atlas.mongodb.com/objects.inv",
7+
"https://docs.mongodb.com/mongodb-shell/objects.inv"
8+
]
69

710
toc_landing_pages = [
811
"/configure",
@@ -177,6 +180,7 @@ mcli-long = "MongoDB Command Line Interface (``mongocli``)"
177180
mcli-version = "1.19.0"
178181
mdbagent = "MongoDB Agent"
179182
mdbVersion = "5.0"
183+
mongosh = ":binary:`~bin.mongosh`"
180184

181185
[substitutions]
182186
a-application = "an Ops Manager Application"

source/configure/configuration-file.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ Example
6868
-------
6969

7070
The following example configuration file contains the path to the
71-
|mongo| shell and two profiles, ``default`` and ``myOpsManager``.
71+
MongoDB Shell, {+mongosh+}, and two profiles, ``default`` and
72+
``myOpsManager``.
7273

7374
The ``default`` profile connects to an |service| deployment and contains
7475
the following settings:

source/configure/environment-variables.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ The {+mcli+} supports the following environment variables:
105105
that you specify in a Go template </configure/go-template-output>`.
106106

107107
* - ``MCLI_MONGOSH_PATH``
108-
- The full path on your local system to the |mongo| shell.
108+
- The full path on your local system to the MongoDB Shell,
109+
{+mongosh+}.
110+
109111

110112
* - | ``MCLI_OPS_MANAGER_CA_CERTIFICATE``
111113
| *Ops Manager only*

source/configure/go-template-output.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ Examples
8282

8383
Parse: mongodb+srv://getstarted.example.mongodb.net
8484

85-
You can use the |mongo| shell to connect to the ``getStarted``
85+
You can use the MongoDB Shell, {+mongosh+}, to connect to the
86+
``getStarted``
8687
cluster with the ``srvAddress`` and the :manual:`connection
8788
string
8889
</reference/connection-string/#connection-string-options>`. This
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Congratulations! You have successfully created a cluster to host your
22
data. You can connect to your cluster using the :manual:`connection
33
string </reference/connection-string/#connection-string-options>` for
4-
the |mongo| shell or your application or view your cluster by logging
4+
{+mongosh+} or your application or view your cluster by logging
55
in to the UI.

source/includes/steps-configure-mcli.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,18 +141,18 @@ content: |
141141
If you didn't enter |api| keys, the command prompts you to enter your
142142
``Default Project ID``.
143143
---
144-
title: "Specify the path to |mongo| shell on your system."
144+
title: "Specify the path to the MongoDB Shell, {+mongosh+}, on your system."
145145
stepnum: 0
146146
level: 4
147147
ref: enter-mongo-shell-path
148148
content: |
149149
150-
{+mcli+} uses the |mongo| shell path that you specify to allow you to
150+
{+mcli+} uses {+mongosh+} path that you specify to allow you to
151151
access your deployments. The default value is
152152
``/usr/local/bin/mongosh``. Press :kbd:`Enter` to accept the default
153153
or:
154154
155-
a. Specify the path to |mongo| shell on your system.
155+
a. Specify the path to {+mongosh+} on your system.
156156
157157
.. code-block:: sh
158158
:copyable: false

source/quick-start/atlas.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ how to:
2121
into your |service| cluster
2222
- Add your IP address to your project's IP access list
2323
- Create a MongoDB user for your |service| cluster
24-
- Connect to your new cluster using |mongo| shell
24+
- Connect to your new cluster using the MongoDB Shell, {+mongosh+}.
2525

2626
The reference pages for the commands mentioned in this tutorial are
2727
available in the :ref:`mcli-reference` section.

0 commit comments

Comments
 (0)