Skip to content

Commit 5c4fb22

Browse files
committed
Update console examples to be on one line
Console examples should be on one line so they can be copied and pasted into the terminal.
1 parent 10806d6 commit 5c4fb22

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

docs/pages/cdp/cdp-Create-Zowe-CLI-profiles.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ This profile identifies the z/OSMF server that has access to the directory on z/
1818

1919
For example, to create a z/OSMF profile:
2020
```console
21-
zowe profiles create zosmf-profile myzos --host myzos.example.com --port 3000
22-
--user myuserid --password mypassword --reject-unauthorized false --overwrite
21+
zowe profiles create zosmf-profile myzos --host myzos.example.com --port 3000 --user myuserid --password mypassword --reject-unauthorized false --overwrite
2322
```
2423
For help on using the options:
2524
```console
@@ -42,8 +41,7 @@ It is recommended that you use the same user ID and host to connect with SSH as
4241

4342
For example, to create an SSH profile:
4443
```console
45-
zowe profiles create ssh-profile myzos --host myzos.example.com
46-
--user myuserid --password mypassword --overwrite
44+
zowe profiles create ssh-profile myzos --host myzos.example.com --user myuserid --password mypassword --overwrite
4745
```
4846
For help on using the options:
4947
```console
@@ -66,9 +64,7 @@ This profile identifies the CICS environment for deployment. You need to know th
6664

6765
For example to create a cics-deploy profile:
6866
```console
69-
zowe profiles create cics-deploy-profile example --cicsplex PLEX1
70-
--cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550
71-
--scope TESTGRP1 --csdgroup BUNDGRP1 --overwrite
67+
zowe profiles create cics-deploy-profile example --cicsplex PLEX1 --cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --scope TESTGRP1 --csdgroup BUNDGRP1 --overwrite
7268
```
7369
For help on using the options:
7470
```console

docs/pages/cdp/cdp-Developer-pushing-Node.js-apps.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ You also need an existing CICS bundle in the current working directory. For more
3737

3838
The `cics-deploy push bundle` command pushes a bundle from the working directory to a target CICS environment. It requires the use of a z/OSMF profile and an ssh profile to do so, use of a cics-deploy profile is also encouraged (for more information on these dependencies see [Requirements for Push](#push_req)). You can request assistance on using the push command by issuing the following command:
3939

40-
`zowe cics-deploy push bundle --help`
40+
```console
41+
zowe cics-deploy push bundle --help
42+
```
4143

4244
If you have configured default profiles for zosmf, ssh and cics-deploy then only two further items are needed:
4345

@@ -46,16 +48,21 @@ If you have configured default profiles for zosmf, ssh and cics-deploy then only
4648

4749
For example, you might issue the following command:
4850

49-
`zowe cics-deploy push bundle --name EXAMPLE1 --targetdir /u/user01/myBundles`
51+
```console
52+
zowe cics-deploy push bundle --name EXAMPLE1 --targetdir /u/user01/myBundles
53+
```
5054

5155
This command causes cics-deploy to attempt to deploy a bundle from the current working directory to the target CICS environment under the name `EXAMPLE1`. If a bundle exists in the target environment with the same name, cics-deploy returns an error. You can instruct cics-deploy to overwrite the existing bundle by adding the --overwrite parameter, for example:
5256

53-
`zowe cics-deploy push bundle --name EXAMPLE1 --targetdir /u/user01/myBundles --overwrite`
57+
```console
58+
zowe cics-deploy push bundle --name EXAMPLE1 --targetdir /u/user01/myBundles --overwrite
59+
```
5460

5561
You can also request verbose messages from cics-deploy by adding the --verbose option, for example:
5662

57-
`zowe cics-deploy push bundle --name EXAMPLE1 --targetdir /u/user01/myBundles --overwrite --verbose`
58-
63+
```console
64+
zowe cics-deploy push bundle --name EXAMPLE1 --targetdir /u/user01/myBundles --overwrite --verbose
65+
```
5966

6067
<a name="push_components"></a>
6168
### Subcomponents of the push command
@@ -67,5 +74,4 @@ The `cics-deploy push bundle` command consists of several separate actions, each
6774
3. If the bundle contains a package.json file, it runs `npm install` on the remote system by using `zowe zos-uss issue ssh`.
6875
4. It deploys a bundle by using `zowe cics-deploy deploy bundle` (See [Deploying a CICS bundle](#deploying)).
6976

70-
Advanced users might prefer to use these subcommands in preference to the `push` command. For example, if the target CICS regions are not CPSM-managed then you might use Zowe to generate and then upload the bundle, and your own scripts to deploy the bundle into a CICS region.
71-
77+
Advanced users might prefer to use these subcommands in preference to the `push` command. For example, if the target CICS regions are not CPSM-managed then you might use Zowe to generate and then upload the bundle, and your own scripts to deploy the bundle into a CICS region.

0 commit comments

Comments
 (0)