Skip to content

Commit b10aff3

Browse files
committed
rename parms
1 parent 0e5941e commit b10aff3

18 files changed

+146
-144
lines changed

docs-internal/CLIReadme.md

Lines changed: 95 additions & 93 deletions
Large diffs are not rendered by default.

src/cli/deploy/bundle/DeployBundle.definition.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ export const DeployBundleDefinition: ICommandDefinition = {
4444
examples: [
4545
{
4646
description: "Deploy a CICS bundle with a specific name and location to a default set of target regions",
47-
options: `--name EXAMPLE --bundledir /u/example/bundleDir`
47+
options: `--name EXAMPLE --bundle-directory /u/example/bundleDir`
4848
},
4949
{
5050
description: "Deploy a CICS bundle, but declare a timeout if the processing takes too long",
51-
options: `--name EXAMPLE --bundledir /u/example/bundleDir --timeout 60`
51+
options: `--name EXAMPLE --bundle-directory /u/example/bundleDir --timeout 60`
5252
},
5353
{
5454
description: "Deploy a CICS bundle to a specific target environment by using specific zosmf & cics-deploy profiles",
55-
options: `--name EXAMPLE --bundledir /u/example/bundleDir --cicsplex TESTPLEX --scope SCOPE --resgroup BUNDGRP ` +
56-
`--cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --zosmf-profile testplex --cics-deploy-profile devcics`
55+
options: `--name EXAMPLE --bundle-directory /u/example/bundleDir --cicsplex TESTPLEX --scope SCOPE --res-group BUNDGRP ` +
56+
`--cics-hlq CICSTS55.CICS720 --cpsm-hlq CICSTS55.CPSM550 --zosmf-profile testplex --cics-deploy-profile devcics`
5757
}
5858
]
5959
};

src/cli/deploy/bundle/options/Bundledir.option.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const MAX_LENGTH = 255;
1818
*
1919
*/
2020
export const BundledirOption: ICommandOptionDefinition = {
21-
name: "bundledir",
22-
aliases: ["bd"],
21+
name: "bundle-directory",
22+
aliases: ["bd", "bundledir"],
2323
type: "string",
2424
required: true,
2525
stringLengthRange: [1, MAX_LENGTH],

src/cli/deploy/bundle/options/TargetState.option.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import { ICommandOptionDefinition } from "@zowe/imperative";
1616
*
1717
*/
1818
export const TargetStateOption: ICommandOptionDefinition = {
19-
name: "targetstate",
20-
aliases: ["ts"],
19+
name: "target-state",
20+
aliases: ["ts", "targetstate"],
2121
type: "string",
2222
required: false,
2323
defaultValue: "ENABLED",

src/cli/generate/bundle/GenerateBundle.definition.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ export const GenerateBundleDefinition: ICommandDefinition = {
4141
},
4242
{
4343
description: "Generate a CICS bundle in the working directory, based on package.json but using a bundle ID of \"mybundle\"",
44-
options: `--bundleid mybundle`
44+
options: `--bundle-id mybundle`
4545
},
4646
{
4747
description: "Generate a CICS bundle in the working directory in which a package.json does not exist",
48-
options: `--bundleid mybundle --nodejsapp myapp --startscript server.js`
48+
options: `--bundle-id mybundle --nodejsapp myapp --start-script server.js`
4949
}
5050
]
5151
};

src/cli/generate/bundle/options/Bundleid.option.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import { ICommandOptionDefinition } from "@zowe/imperative";
1616
*
1717
*/
1818
export const BundleidOption: ICommandOptionDefinition = {
19-
name: "bundleid",
20-
aliases: ["b", "id", "bid"],
19+
name: "bundle-id",
20+
aliases: ["b", "id", "bundleid"],
2121
type: "string",
2222
description: "The ID for the generated CICS bundle, up to 64 characters. If no value is " +
2323
"specified, a default value is created from the 'name' property " +

src/cli/generate/bundle/options/Bundleversion.option.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import { ICommandOptionDefinition } from "@zowe/imperative";
1616
*
1717
*/
1818
export const BundleversionOption: ICommandOptionDefinition = {
19-
name: "bundleversion",
20-
aliases: ["bv", "bundlever"],
19+
name: "bundle-version",
20+
aliases: ["bv", "bundleversion"],
2121
type: "string",
2222
description: "The major.minor.micro version number for the generated CICS bundle. If no value is " +
2323
"specified, a default value of 1.0.0 is used."

src/cli/generate/bundle/options/Startscript.option.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import { ICommandOptionDefinition } from "@zowe/imperative";
1616
*
1717
*/
1818
export const StartscriptOption: ICommandOptionDefinition = {
19-
name: "startscript",
20-
aliases: ["s", "ss"],
19+
name: "start-script",
20+
aliases: ["s", "ss", "startscript"],
2121
type: "string",
2222
description: "Up to 255 character path to the Node.js start script that runs when " +
2323
"the associated bundle is enabled in CICS. If a value is not " +

src/cli/push/bundle/PushBundle.definition.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ export const PushBundleDefinition: ICommandDefinition = {
4343
examples: [
4444
{
4545
description: "Push a CICS bundle from the working directory by using default cics-deploy, ssh and zosmf profiles",
46-
options: `--name EXAMPLE --targetdir /u/example/bundles`
46+
options: `--name EXAMPLE --target-directory /u/example/bundles`
4747
},
4848
{
4949
description: "Push a CICS bundle from the working directory by using specific zosmf, ssh & cics-deploy profiles",
50-
options: `--name EXAMPLE --targetdir /u/example/bundles --zosmf-profile testplex --cics-deploy-profile devcics --ssh-profile ssh`
50+
options: `--name EXAMPLE --target-directory /u/example/bundles --zosmf-profile testplex --cics-deploy-profile devcics --ssh-profile ssh`
5151
},
5252
{
5353
description: "Push a CICS bundle from the working directory replacing any bundle of the same name that is already deployed",
54-
options: `--name EXAMPLE --targetdir /u/example/bundles --overwrite`
54+
options: `--name EXAMPLE --target-directory /u/example/bundles --overwrite`
5555
}
5656
]
5757
};

src/cli/push/bundle/options/Targetdir.option.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const MAX_LENGTH = 255;
1818
*
1919
*/
2020
export const TargetdirOption: ICommandOptionDefinition = {
21-
name: "targetdir",
22-
aliases: ["td"],
21+
name: "target-directory",
22+
aliases: ["td", "targetdir"],
2323
type: "string",
2424
required: true,
2525
stringLengthRange: [1, MAX_LENGTH],

0 commit comments

Comments
 (0)