Skip to content

Commit a280c2e

Browse files
committed
further profile tweaks
1 parent e3c779a commit a280c2e

File tree

9 files changed

+12
-40
lines changed

9 files changed

+12
-40
lines changed

__tests__/cli/deploy/__snapshots__/Deploy.definition.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const DeployDefinition: ICommandDefinition = {
2626
\\"A BUNDLE resource is installed and ENABLED and made AVAILABLE in the \\" +
2727
\\"target CICSplex and scope.\\",
2828
type: \\"group\\",
29-
children: [DeployBundleDefinition]
29+
children: [DeployBundleDefinition],
3030
};
3131
3232
export = DeployDefinition;

__tests__/cli/deploy/bundle/__snapshots__/DeployBundle.definition.test.ts.snap

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ exports[`bundle definition should match the snapshot 1`] = `
1515
import { ICommandDefinition } from \\"@brightside/imperative\\";
1616
import { NameOption } from \\"../../shared/Name.option\\";
1717
import { BundledirOption } from \\"./options/Bundledir.option\\";
18-
import { CicsDeployProfileOption } from \\"../../shared/CicsDeployProfile.option\\";
1918
import { CicsplexOption } from \\"../../shared/Cicsplex.option\\";
2019
import { ScopeOption } from \\"../../shared/Scope.option\\";
2120
import { CsdgroupOption } from \\"../../shared/Csdgroup.option\\";
@@ -35,7 +34,7 @@ export const DeployBundleDefinition: ICommandDefinition = {
3534
\\"in the target group of CICS regions.\\",
3635
type: \\"command\\",
3736
handler: __dirname + \\"/DeployBundle.handler\\",
38-
options: [ NameOption, BundledirOption, CicsDeployProfileOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption, TimeoutOption],
37+
options: [ NameOption, BundledirOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption, TimeoutOption],
3938
profile: { optional: [\\"cics-deploy\\"] },
4039
examples: [
4140
{

__tests__/cli/undeploy/bundle/__snapshots__/UndeployBundle.definition.test.ts.snap

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ exports[`bundle definition should match the snapshot 1`] = `
1414
1515
import { ICommandDefinition } from \\"@brightside/imperative\\";
1616
import { NameOption } from \\"../../shared/Name.option\\";
17-
import { CicsDeployProfileOption } from \\"../../shared/CicsDeployProfile.option\\";
1817
import { CicsplexOption } from \\"../../shared/Cicsplex.option\\";
1918
import { ScopeOption } from \\"../../shared/Scope.option\\";
2019
import { CsdgroupOption } from \\"../../shared/Csdgroup.option\\";
@@ -34,7 +33,7 @@ export const UndeployBundleDefinition: ICommandDefinition = {
3433
\\"from the target group of CICS regions.\\",
3534
type: \\"command\\",
3635
handler: __dirname + \\"/UndeployBundle.handler\\",
37-
options: [ NameOption, CicsDeployProfileOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption, TimeoutOption],
36+
options: [ NameOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption, TimeoutOption],
3837
profile: { optional: [\\"cics-deploy\\"] },
3938
examples: [
4039
{

src/cli/deploy/Deploy.definition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const DeployDefinition: ICommandDefinition = {
2323
"A BUNDLE resource is installed and ENABLED and made AVAILABLE in the " +
2424
"target CICSplex and scope.",
2525
type: "group",
26-
children: [DeployBundleDefinition]
26+
children: [DeployBundleDefinition],
2727
};
2828

2929
export = DeployDefinition;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import { ICommandDefinition } from "@brightside/imperative";
1313
import { NameOption } from "../../shared/Name.option";
1414
import { BundledirOption } from "./options/Bundledir.option";
15-
import { CicsDeployProfileOption } from "../../shared/CicsDeployProfile.option";
1615
import { CicsplexOption } from "../../shared/Cicsplex.option";
1716
import { ScopeOption } from "../../shared/Scope.option";
1817
import { CsdgroupOption } from "../../shared/Csdgroup.option";
@@ -32,7 +31,7 @@ export const DeployBundleDefinition: ICommandDefinition = {
3231
"in the target group of CICS regions.",
3332
type: "command",
3433
handler: __dirname + "/DeployBundle.handler",
35-
options: [ NameOption, BundledirOption, CicsDeployProfileOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption, TimeoutOption],
34+
options: [ NameOption, BundledirOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption, TimeoutOption],
3635
profile: { optional: ["cics-deploy"] },
3736
examples: [
3837
{

src/cli/shared/CicsDeployProfile.option.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/cli/shared/Cicsplex.option.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ export const CicsplexOption: ICommandOptionDefinition = {
2323
type: "string",
2424
stringLengthRange: [1, MAX_LENGTH],
2525
description: "Specifies the CICSplex (up to 8 characters) to target. " +
26-
"Use this parameter if you have not set the --cics-deploy-profile option."
26+
"Use this parameter if you have not set the --cics-deploy-profile option. " +
27+
"For help on creating a profile issue the 'zowe profiles create cics-deploy --help' " +
28+
"command."
2729
};
2830

src/cli/shared/Scope.option.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ export const ScopeOption: ICommandOptionDefinition = {
2525
impliesOneOf: ["csdgroup", "resgroup"],
2626
description: "Specifies the name of the CICS System, or CICS System Group " +
2727
"(up to 8 characters) to target. " +
28-
"Use this parameter if you have not set the --cics-deploy-profile option."
28+
"Use this parameter if you have not set the --cics-deploy-profile option. " +
29+
"For help on creating a profile issue the 'zowe profiles create cics-deploy --help' " +
30+
"command."
2931
};
3032

src/cli/undeploy/bundle/UndeployBundle.definition.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
import { ICommandDefinition } from "@brightside/imperative";
1313
import { NameOption } from "../../shared/Name.option";
14-
import { CicsDeployProfileOption } from "../../shared/CicsDeployProfile.option";
1514
import { CicsplexOption } from "../../shared/Cicsplex.option";
1615
import { ScopeOption } from "../../shared/Scope.option";
1716
import { CsdgroupOption } from "../../shared/Csdgroup.option";
@@ -31,7 +30,7 @@ export const UndeployBundleDefinition: ICommandDefinition = {
3130
"from the target group of CICS regions.",
3231
type: "command",
3332
handler: __dirname + "/UndeployBundle.handler",
34-
options: [ NameOption, CicsDeployProfileOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption, TimeoutOption],
33+
options: [ NameOption, CicsplexOption, ScopeOption, CsdgroupOption , ResgroupOption, TimeoutOption],
3534
profile: { optional: ["cics-deploy"] },
3635
examples: [
3736
{

0 commit comments

Comments
 (0)