@zowe/cics-for-zowe-cli 6.20.0 → 6.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +56 -3
- package/lib/-strings-/en.d.ts +48 -0
- package/lib/-strings-/en.js +48 -0
- package/lib/-strings-/en.js.map +1 -1
- package/lib/close/Close.definition.d.ts +16 -0
- package/lib/close/Close.definition.js +36 -0
- package/lib/close/Close.definition.js.map +1 -0
- package/lib/close/CloseLocalFile.d.ts +15 -0
- package/lib/close/CloseLocalFile.js +68 -0
- package/lib/close/CloseLocalFile.js.map +1 -0
- package/lib/common/LocalFileHandler.d.ts +43 -0
- package/lib/common/LocalFileHandler.js +104 -0
- package/lib/common/LocalFileHandler.js.map +1 -0
- package/lib/open/Open.definition.d.ts +16 -0
- package/lib/open/Open.definition.js +36 -0
- package/lib/open/Open.definition.js.map +1 -0
- package/lib/open/OpenLocalFile.d.ts +15 -0
- package/lib/open/OpenLocalFile.js +53 -0
- package/lib/open/OpenLocalFile.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/NOTICE +56 -3
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.d.ts +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js +24 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js.map +1 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ILocalFileParms.d.ts +27 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ILocalFileParms.js +13 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ILocalFileParms.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.d.ts +3 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js +3 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js.map +1 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.d.ts +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js.map +1 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/resources/LocalFile.d.ts +56 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/resources/LocalFile.js +116 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/resources/LocalFile.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/resources/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/resources/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/resources/index.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.d.ts +1 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js +6 -4
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js.map +1 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestError.d.ts +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestError.js +2 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestError.js.map +1 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/ResourceActions.d.ts +39 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/ResourceActions.js +53 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/ResourceActions.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/index.d.ts +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/index.js +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/index.js.map +1 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/package.json +1 -1
- package/node_modules/sax/lib/sax.js +133 -7
- package/node_modules/sax/package.json +5 -2
- package/npm-shrinkwrap.json +3 -3
- package/package.json +2 -2
package/NOTICE
CHANGED
|
@@ -97,7 +97,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
97
97
|
|
|
98
98
|
------
|
|
99
99
|
|
|
100
|
-
** diff; version 8.0.
|
|
100
|
+
** diff; version 8.0.4 --
|
|
101
101
|
Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
|
|
102
102
|
|
|
103
103
|
BSD 3-Clause License
|
|
@@ -300,6 +300,31 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
|
300
300
|
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
301
301
|
|
|
302
302
|
|
|
303
|
+
------
|
|
304
|
+
|
|
305
|
+
** flatted; version 3.4.2 -- https://github.com/WebReflection/flatted#readme
|
|
306
|
+
(c) 2020-present Andrea Giammarchi
|
|
307
|
+
Copyright (c) 2018-2020, Andrea Giammarchi
|
|
308
|
+
Copyright (c) 2018-2021, Andrea Giammarchi
|
|
309
|
+
Copyright (c) 2018-2025, Andrea Giammarchi
|
|
310
|
+
|
|
311
|
+
ISC License
|
|
312
|
+
|
|
313
|
+
Copyright (c) 2018-2020, Andrea Giammarchi, @WebReflection
|
|
314
|
+
|
|
315
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
316
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
317
|
+
copyright notice and this permission notice appear in all copies.
|
|
318
|
+
|
|
319
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
320
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
321
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
322
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
323
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
324
|
+
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
325
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
326
|
+
|
|
327
|
+
|
|
303
328
|
------
|
|
304
329
|
|
|
305
330
|
** npm-package-arg; version 11.0.3 -- https://github.com/npm/npm-package-arg
|
|
@@ -795,6 +820,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
795
820
|
THE SOFTWARE.
|
|
796
821
|
|
|
797
822
|
|
|
823
|
+
------
|
|
824
|
+
|
|
825
|
+
** fs-extra; version 11.3.4 -- https://github.com/jprichardson/node-fs-extra
|
|
826
|
+
Copyright (c) 2011-2024 JP Richardson
|
|
827
|
+
Copyright (c) 2011-2024 JP Richardson (https://github.com/jprichardson)
|
|
828
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
829
|
+
Copyright (c) 2014-2016 Jonathan Ong me@jongleberry.com and Contributors
|
|
830
|
+
|
|
831
|
+
(The MIT License)
|
|
832
|
+
|
|
833
|
+
Copyright (c) 2011-2024 JP Richardson
|
|
834
|
+
|
|
835
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
|
|
836
|
+
(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
|
|
837
|
+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
|
838
|
+
furnished to do so, subject to the following conditions:
|
|
839
|
+
|
|
840
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
841
|
+
|
|
842
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
843
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
|
|
844
|
+
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
845
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
846
|
+
|
|
847
|
+
|
|
798
848
|
------
|
|
799
849
|
|
|
800
850
|
** safe-stable-stringify; version 2.5.0 -- https://github.com/BridgeAR/safe-stable-stringify#readme
|
|
@@ -1636,6 +1686,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
1636
1686
|
------
|
|
1637
1687
|
|
|
1638
1688
|
** core-util-is; version 1.0.3 -- https://github.com/isaacs/core-util-is#readme
|
|
1689
|
+
Copyright Node.js contributors
|
|
1639
1690
|
Copyright Joyent, Inc. and other Node contributors
|
|
1640
1691
|
|
|
1641
1692
|
Copyright Node.js contributors. All rights reserved.
|
|
@@ -1844,7 +1895,7 @@ SOFTWARE.
|
|
|
1844
1895
|
|
|
1845
1896
|
------
|
|
1846
1897
|
|
|
1847
|
-
** picomatch; version 2.3.
|
|
1898
|
+
** picomatch; version 2.3.2 -- https://github.com/micromatch/picomatch
|
|
1848
1899
|
Copyright (c) 2017-present, Jon Schlinkert
|
|
1849
1900
|
Copyright (c) 2017-present, Jon Schlinkert (https://github.com/jonschlinkert)
|
|
1850
1901
|
|
|
@@ -2404,6 +2455,7 @@ THE SOFTWARE.
|
|
|
2404
2455
|
|
|
2405
2456
|
** merge2; version 1.4.1 -- https://github.com/teambition/merge2
|
|
2406
2457
|
Copyright (c) 2014-2020 Teambition
|
|
2458
|
+
(c) Teambition (https://www.teambition.com)
|
|
2407
2459
|
|
|
2408
2460
|
The MIT License (MIT)
|
|
2409
2461
|
|
|
@@ -2754,6 +2806,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
2754
2806
|
------
|
|
2755
2807
|
|
|
2756
2808
|
** isexe; version 3.1.5 -- https://github.com/isaacs/isexe#readme
|
|
2809
|
+
** sax; version 1.6.0 -- https://github.com/isaacs/sax-js#readme
|
|
2757
2810
|
|
|
2758
2811
|
# Blue Oak Model License
|
|
2759
2812
|
|
|
@@ -2814,7 +2867,7 @@ software or this license, under any kind of legal claim.***
|
|
|
2814
2867
|
|
|
2815
2868
|
------
|
|
2816
2869
|
|
|
2817
|
-
** lodash; version 4.
|
|
2870
|
+
** lodash; version 4.18.1 -- https://lodash.com/
|
|
2818
2871
|
Copyright OpenJS Foundation and other contributors https://openjsf.org
|
|
2819
2872
|
Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
2820
2873
|
copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org
|
package/lib/-strings-/en.d.ts
CHANGED
|
@@ -226,6 +226,54 @@ declare const _default: {
|
|
|
226
226
|
};
|
|
227
227
|
};
|
|
228
228
|
};
|
|
229
|
+
CLOSE: {
|
|
230
|
+
SUMMARY: string;
|
|
231
|
+
DESCRIPTION: string;
|
|
232
|
+
RESOURCES: {
|
|
233
|
+
LOCALFILE: {
|
|
234
|
+
DESCRIPTION: string;
|
|
235
|
+
POSITIONALS: {
|
|
236
|
+
FILENAME: string;
|
|
237
|
+
};
|
|
238
|
+
OPTIONS: {
|
|
239
|
+
REGIONNAME: string;
|
|
240
|
+
CICSPLEX: string;
|
|
241
|
+
BUSY: string;
|
|
242
|
+
};
|
|
243
|
+
MESSAGES: {
|
|
244
|
+
SUCCESS: string;
|
|
245
|
+
PROGRESS: string;
|
|
246
|
+
};
|
|
247
|
+
EXAMPLES: {
|
|
248
|
+
EX1: string;
|
|
249
|
+
EX2: string;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
OPEN: {
|
|
255
|
+
SUMMARY: string;
|
|
256
|
+
DESCRIPTION: string;
|
|
257
|
+
RESOURCES: {
|
|
258
|
+
LOCALFILE: {
|
|
259
|
+
DESCRIPTION: string;
|
|
260
|
+
POSITIONALS: {
|
|
261
|
+
FILENAME: string;
|
|
262
|
+
};
|
|
263
|
+
OPTIONS: {
|
|
264
|
+
REGIONNAME: string;
|
|
265
|
+
CICSPLEX: string;
|
|
266
|
+
};
|
|
267
|
+
MESSAGES: {
|
|
268
|
+
SUCCESS: string;
|
|
269
|
+
PROGRESS: string;
|
|
270
|
+
};
|
|
271
|
+
EXAMPLES: {
|
|
272
|
+
EX1: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
229
277
|
DISABLE: {
|
|
230
278
|
SUMMARY: string;
|
|
231
279
|
DESCRIPTION: string;
|
package/lib/-strings-/en.js
CHANGED
|
@@ -247,6 +247,54 @@ exports.default = {
|
|
|
247
247
|
},
|
|
248
248
|
},
|
|
249
249
|
},
|
|
250
|
+
CLOSE: {
|
|
251
|
+
SUMMARY: "Close resources in CICS",
|
|
252
|
+
DESCRIPTION: "Close resources (for example, local files) in CICS through IBM CMCI.",
|
|
253
|
+
RESOURCES: {
|
|
254
|
+
LOCALFILE: {
|
|
255
|
+
DESCRIPTION: "Close a local file in CICS.",
|
|
256
|
+
POSITIONALS: {
|
|
257
|
+
FILENAME: "The name of the local file to close. The maximum length of the file name is eight characters.",
|
|
258
|
+
},
|
|
259
|
+
OPTIONS: {
|
|
260
|
+
REGIONNAME: "The CICS region name in which to close the local file",
|
|
261
|
+
CICSPLEX: "The name of the CICSPlex in which to close the local file",
|
|
262
|
+
BUSY: "The busy condition option for closing the file. Valid values: WAIT, NOWAIT, FORCE. Default is WAIT.",
|
|
263
|
+
},
|
|
264
|
+
MESSAGES: {
|
|
265
|
+
SUCCESS: "The local file '%s' was closed successfully.",
|
|
266
|
+
PROGRESS: "Closing local file from CICS",
|
|
267
|
+
},
|
|
268
|
+
EXAMPLES: {
|
|
269
|
+
EX1: "Close a local file named TESTFILE from the region named MYREGION",
|
|
270
|
+
EX2: "Close a local file named TESTFILE from the region named MYREGION with BUSY=FORCE",
|
|
271
|
+
},
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
OPEN: {
|
|
276
|
+
SUMMARY: "Open resources in CICS",
|
|
277
|
+
DESCRIPTION: "Open resources (for example, local files) in CICS through IBM CMCI.",
|
|
278
|
+
RESOURCES: {
|
|
279
|
+
LOCALFILE: {
|
|
280
|
+
DESCRIPTION: "Open a local file in CICS.",
|
|
281
|
+
POSITIONALS: {
|
|
282
|
+
FILENAME: "The name of the local file to open. The maximum length of the file name is eight characters.",
|
|
283
|
+
},
|
|
284
|
+
OPTIONS: {
|
|
285
|
+
REGIONNAME: "The CICS region name in which to open the local file",
|
|
286
|
+
CICSPLEX: "The name of the CICSPlex in which to open the local file",
|
|
287
|
+
},
|
|
288
|
+
MESSAGES: {
|
|
289
|
+
SUCCESS: "The local file '%s' was opened successfully.",
|
|
290
|
+
PROGRESS: "Opening local file in CICS",
|
|
291
|
+
},
|
|
292
|
+
EXAMPLES: {
|
|
293
|
+
EX1: "Open a local file named TESTFILE in the region named MYREGION",
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
},
|
|
297
|
+
},
|
|
250
298
|
DISABLE: {
|
|
251
299
|
SUMMARY: "Disable resources from CICS",
|
|
252
300
|
DESCRIPTION: "Disable resources (for example, urimaps) from CICS through IBM CMCI.",
|
package/lib/-strings-/en.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/-strings-/en.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;AAEH,uDAAuD;AAEvD,kBAAe;IACb,SAAS,EAAE;QAC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AAO,EAAE,wDAAwD;iBAClE;gBACD,QAAQ,EAAE;oBACR,GAAG,EAAE,+EAA+E;iBACrF;aACF;SACF;KACF;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/-strings-/en.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;AAEH,uDAAuD;AAEvD,kBAAe;IACb,SAAS,EAAE;QACT,OAAO,EAAE,2BAA2B;QACpC,WAAW,EAAE,oFAAoF;QACjG,SAAS,EAAE;YACT,QAAQ,EAAE;gBACR,WAAW,EAAE,qCAAqC;gBAClD,WAAW,EAAE;oBACX,IAAI,EAAE,gGAAgG;oBACtG,OAAO,EAAE,2GAA2G;iBACrH;gBACD,OAAO,EAAE;oBACP,UAAU,EAAE,oEAAoE;oBAChF,QAAQ,EAAE,wEAAwE;iBACnF;gBACD,QAAQ,EAAE;oBACR,OAAO,EAAE,oDAAoD;iBAC9D;gBACD,QAAQ,EAAE;oBACR,GAAG,EAAE,0EAA0E;iBAChF;aACF;SACF;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,8BAA8B;QACvC,WAAW,EAAE,wEAAwE;QACrF,SAAS,EAAE;YACT,OAAO,EAAE;gBACP,WAAW,EAAE,+BAA+B;gBAC5C,WAAW,EAAE;oBACX,WAAW,EAAE,oGAAoG;oBACjH,QAAQ,EACN,qFAAqF;wBACrF,mCAAmC;wBACnC,2BAA2B;iBAC9B;gBACD,OAAO,EAAE;oBACP,UAAU,EAAE,yDAAyD;oBACrE,QAAQ,EAAE,6DAA6D;iBACxE;gBACD,QAAQ,EAAE;oBACR,OAAO,EAAE,4CAA4C;iBACtD;gBACD,QAAQ,EAAE;oBACR,GAAG,EAAE,kFAAkF;iBACxF;aACF;YACD,WAAW,EAAE;gBACX,WAAW,EAAE,mCAAmC;gBAChD,WAAW,EAAE;oBACX,eAAe,EAAE,2GAA2G;oBAC5H,WAAW,EAAE,gHAAgH;oBAC7H,QAAQ,EACN,yFAAyF;wB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F;CACF,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
3
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
4
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
7
|
+
*
|
|
8
|
+
* Copyright Contributors to the Zowe Project.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
import type { ICommandDefinition } from "@zowe/imperative";
|
|
12
|
+
/**
|
|
13
|
+
* Definition for the "close" group of commands under the CICS plugin
|
|
14
|
+
*/
|
|
15
|
+
declare const definition: ICommandDefinition;
|
|
16
|
+
export = definition;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
4
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
5
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
8
|
+
*
|
|
9
|
+
* Copyright Contributors to the Zowe Project.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
const CicsSession_1 = require("../CicsSession");
|
|
13
|
+
const CloseLocalFile_1 = require("./CloseLocalFile");
|
|
14
|
+
// Does not use the import in anticipation of some internationalization work to be done later.
|
|
15
|
+
const strings = require("../-strings-/en").default.CLOSE;
|
|
16
|
+
/**
|
|
17
|
+
* Definition for the "close" group of commands under the CICS plugin
|
|
18
|
+
*/
|
|
19
|
+
const definition = {
|
|
20
|
+
name: "close",
|
|
21
|
+
aliases: ["cls"],
|
|
22
|
+
summary: strings.SUMMARY,
|
|
23
|
+
description: strings.DESCRIPTION,
|
|
24
|
+
type: "group",
|
|
25
|
+
children: [CloseLocalFile_1.LocalFileDefinition],
|
|
26
|
+
passOn: [
|
|
27
|
+
{
|
|
28
|
+
property: "options",
|
|
29
|
+
value: CicsSession_1.CicsSession.CICS_CONNECTION_OPTIONS,
|
|
30
|
+
merge: true,
|
|
31
|
+
ignoreNodes: [{ type: "group" }],
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
};
|
|
35
|
+
module.exports = definition;
|
|
36
|
+
//# sourceMappingURL=Close.definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Close.definition.js","sourceRoot":"","sources":["../../src/close/Close.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;AAGH,gDAA6C;AAC7C,qDAAuD;AAIvD,8FAA8F;AAC9F,MAAM,OAAO,GAAI,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAA8B,CAAC,KAAK,CAAC;AAEjF;;GAEG;AACH,MAAM,UAAU,GAAuB;IACrC,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC,OAAO;IACxB,WAAW,EAAE,OAAO,CAAC,WAAW;IAChC,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,CAAC,oCAAmB,CAAC;IAC/B,MAAM,EAAE;QACN;YACE,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,yBAAW,CAAC,uBAAuB;YAC1C,KAAK,EAAE,IAAI;YACX,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;SACjC;KACF;CACF,CAAC;AAEF,iBAAS,UAAU,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
3
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
4
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
7
|
+
*
|
|
8
|
+
* Copyright Contributors to the Zowe Project.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
import type { ICommandDefinition } from "@zowe/imperative";
|
|
12
|
+
/**
|
|
13
|
+
* Local file command definition for the CLOSE command group
|
|
14
|
+
*/
|
|
15
|
+
export declare const LocalFileDefinition: ICommandDefinition;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
4
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
5
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
8
|
+
*
|
|
9
|
+
* Copyright Contributors to the Zowe Project.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.LocalFileDefinition = void 0;
|
|
14
|
+
const cics_for_zowe_sdk_1 = require("@zowe/cics-for-zowe-sdk");
|
|
15
|
+
// Does not use the import in anticipation of some internationalization work to be done later.
|
|
16
|
+
const strings = require("../-strings-/en").default.CLOSE.RESOURCES.LOCALFILE;
|
|
17
|
+
/**
|
|
18
|
+
* Local file command definition for the CLOSE command group
|
|
19
|
+
*/
|
|
20
|
+
exports.LocalFileDefinition = {
|
|
21
|
+
name: "CICSLocalFile",
|
|
22
|
+
aliases: ["lf"],
|
|
23
|
+
description: strings.DESCRIPTION,
|
|
24
|
+
handler: __dirname + "/../common/LocalFileHandler",
|
|
25
|
+
type: "command",
|
|
26
|
+
positionals: [
|
|
27
|
+
{
|
|
28
|
+
name: "fileName",
|
|
29
|
+
description: strings.POSITIONALS.FILENAME,
|
|
30
|
+
type: "string",
|
|
31
|
+
required: true,
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
options: [
|
|
35
|
+
{
|
|
36
|
+
name: "region-name",
|
|
37
|
+
description: strings.OPTIONS.REGIONNAME,
|
|
38
|
+
type: "string",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "cics-plex",
|
|
42
|
+
description: strings.OPTIONS.CICSPLEX,
|
|
43
|
+
type: "string",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "busy",
|
|
47
|
+
description: strings.OPTIONS.BUSY,
|
|
48
|
+
type: "string",
|
|
49
|
+
defaultValue: "WAIT",
|
|
50
|
+
allowableValues: {
|
|
51
|
+
values: [...cics_for_zowe_sdk_1.CicsCmciConstants.CICS_LOCAL_FILE_BUSY_VALUES],
|
|
52
|
+
caseSensitive: false,
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
profile: { optional: ["cics"] },
|
|
57
|
+
examples: [
|
|
58
|
+
{
|
|
59
|
+
description: strings.EXAMPLES.EX1,
|
|
60
|
+
options: "TESTFILE --region-name MYREGION",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
description: strings.EXAMPLES.EX2,
|
|
64
|
+
options: "TESTFILE --region-name MYREGION --busy FORCE",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=CloseLocalFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseLocalFile.js","sourceRoot":"","sources":["../../src/close/CloseLocalFile.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAGH,+DAA4D;AAI5D,8FAA8F;AAC9F,MAAM,OAAO,GAAI,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAA8B,CAAC,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;AAErG;;GAEG;AACU,QAAA,mBAAmB,GAAuB;IACrD,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,CAAC,IAAI,CAAC;IACf,WAAW,EAAE,OAAO,CAAC,WAAW;IAChC,OAAO,EAAE,SAAS,GAAG,6BAA6B;IAClD,IAAI,EAAE,SAAS;IACf,WAAW,EAAE;QACX;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,QAAQ;YACzC,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACf;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,UAAU;YACvC,IAAI,EAAE,QAAQ;SACf;QACD;YACE,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,QAAQ;YACrC,IAAI,EAAE,QAAQ;SACf;QACD;YACE,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI;YACjC,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,MAAM;YACpB,eAAe,EAAE;gBACf,MAAM,EAAE,CAAC,GAAG,qCAAiB,CAAC,2BAA2B,CAAC;gBAC1D,aAAa,EAAE,KAAK;aACrB;SACF;KACF;IACD,OAAO,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE;IAC/B,QAAQ,EAAE;QACR;YACE,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG;YACjC,OAAO,EAAE,iCAAiC;SAC3C;QACD;YACE,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG;YACjC,OAAO,EAAE,8CAA8C;SACxD;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
3
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
4
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
7
|
+
*
|
|
8
|
+
* Copyright Contributors to the Zowe Project.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
import { type ICMCIApiResponse } from "@zowe/cics-for-zowe-sdk";
|
|
12
|
+
import { type AbstractSession, type IHandlerParameters } from "@zowe/imperative";
|
|
13
|
+
import { CicsBaseHandler } from "../CicsBaseHandler";
|
|
14
|
+
/**
|
|
15
|
+
* Unified command handler for opening and closing CICS local files via CMCI.
|
|
16
|
+
* Determines the action (open/close) based on the command definition's parent.
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @class LocalFileHandler
|
|
20
|
+
* @extends {CicsBaseHandler}
|
|
21
|
+
*/
|
|
22
|
+
export default class LocalFileHandler extends CicsBaseHandler {
|
|
23
|
+
/**
|
|
24
|
+
* Determines the action type based on the command chain
|
|
25
|
+
* @param {IHandlerParameters} params - Command handler parameters
|
|
26
|
+
* @returns {"CLOSE" | "OPEN"} The action type
|
|
27
|
+
*/
|
|
28
|
+
private getActionType;
|
|
29
|
+
/**
|
|
30
|
+
* Gets the appropriate strings based on action type
|
|
31
|
+
* @param {"CLOSE" | "OPEN"} action - The action type
|
|
32
|
+
* @returns {object} The strings object for the action
|
|
33
|
+
*/
|
|
34
|
+
private getStrings;
|
|
35
|
+
/**
|
|
36
|
+
* Process the command to open or close a CICS local file
|
|
37
|
+
* @param {IHandlerParameters} params - Command handler parameters
|
|
38
|
+
* @param {AbstractSession} session - The session to use for the CMCI request
|
|
39
|
+
* @returns {Promise<ICMCIApiResponse>} The CMCI API response
|
|
40
|
+
* @throws {ImperativeError} Various errors from validation or CMCI request failures
|
|
41
|
+
*/
|
|
42
|
+
processWithSession(params: IHandlerParameters, session: AbstractSession): Promise<ICMCIApiResponse>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
4
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
5
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
8
|
+
*
|
|
9
|
+
* Copyright Contributors to the Zowe Project.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
const cics_for_zowe_sdk_1 = require("@zowe/cics-for-zowe-sdk");
|
|
14
|
+
const imperative_1 = require("@zowe/imperative");
|
|
15
|
+
const CicsBaseHandler_1 = require("../CicsBaseHandler");
|
|
16
|
+
// Does not use the import in anticipation of some internationalization work to be done later.
|
|
17
|
+
const closeStrings = require("../-strings-/en").default.CLOSE.RESOURCES.LOCALFILE;
|
|
18
|
+
const openStrings = require("../-strings-/en").default.OPEN.RESOURCES.LOCALFILE;
|
|
19
|
+
/**
|
|
20
|
+
* Unified command handler for opening and closing CICS local files via CMCI.
|
|
21
|
+
* Determines the action (open/close) based on the command definition's parent.
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
* @class LocalFileHandler
|
|
25
|
+
* @extends {CicsBaseHandler}
|
|
26
|
+
*/
|
|
27
|
+
class LocalFileHandler extends CicsBaseHandler_1.CicsBaseHandler {
|
|
28
|
+
/**
|
|
29
|
+
* Determines the action type based on the command chain
|
|
30
|
+
* @param {IHandlerParameters} params - Command handler parameters
|
|
31
|
+
* @returns {"CLOSE" | "OPEN"} The action type
|
|
32
|
+
*/
|
|
33
|
+
getActionType(params) {
|
|
34
|
+
// Check parent command name first (works in tests)
|
|
35
|
+
const parentCommand = params.definition.parent?.name;
|
|
36
|
+
if (parentCommand === "close") {
|
|
37
|
+
return "CLOSE";
|
|
38
|
+
}
|
|
39
|
+
else if (parentCommand === "open") {
|
|
40
|
+
return "OPEN";
|
|
41
|
+
}
|
|
42
|
+
// Check positionals array which contains the command chain
|
|
43
|
+
const positionals = params.positionals || [];
|
|
44
|
+
if (positionals.includes("close")) {
|
|
45
|
+
return "CLOSE";
|
|
46
|
+
}
|
|
47
|
+
else if (positionals.includes("open")) {
|
|
48
|
+
return "OPEN";
|
|
49
|
+
}
|
|
50
|
+
// Last resort: check if handler path contains close or open
|
|
51
|
+
const handlerPath = params.definition.handler || "";
|
|
52
|
+
if (handlerPath.includes("/close/") || handlerPath.includes("\\close\\")) {
|
|
53
|
+
return "CLOSE";
|
|
54
|
+
}
|
|
55
|
+
else if (handlerPath.includes("/open/") || handlerPath.includes("\\open\\")) {
|
|
56
|
+
return "OPEN";
|
|
57
|
+
}
|
|
58
|
+
// Should not reach here with proper command structure
|
|
59
|
+
throw new Error("Unable to determine action type from command context");
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Gets the appropriate strings based on action type
|
|
63
|
+
* @param {"CLOSE" | "OPEN"} action - The action type
|
|
64
|
+
* @returns {object} The strings object for the action
|
|
65
|
+
*/
|
|
66
|
+
getStrings(action) {
|
|
67
|
+
return action === "CLOSE" ? closeStrings : openStrings;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Process the command to open or close a CICS local file
|
|
71
|
+
* @param {IHandlerParameters} params - Command handler parameters
|
|
72
|
+
* @param {AbstractSession} session - The session to use for the CMCI request
|
|
73
|
+
* @returns {Promise<ICMCIApiResponse>} The CMCI API response
|
|
74
|
+
* @throws {ImperativeError} Various errors from validation or CMCI request failures
|
|
75
|
+
*/
|
|
76
|
+
async processWithSession(params, session) {
|
|
77
|
+
const action = this.getActionType(params);
|
|
78
|
+
const strings = this.getStrings(action);
|
|
79
|
+
const status = {
|
|
80
|
+
statusMessage: strings.MESSAGES.PROGRESS,
|
|
81
|
+
percentComplete: 0,
|
|
82
|
+
stageName: imperative_1.TaskStage.IN_PROGRESS,
|
|
83
|
+
};
|
|
84
|
+
params.response.progress.startBar({ task: status });
|
|
85
|
+
// Build parameters for the SDK call
|
|
86
|
+
const sdkParams = {
|
|
87
|
+
name: params.arguments.fileName,
|
|
88
|
+
regionName: params.arguments.regionName,
|
|
89
|
+
cicsPlex: params.arguments.cicsPlex,
|
|
90
|
+
};
|
|
91
|
+
// Add busy parameter only for CLOSE action
|
|
92
|
+
if (action === "CLOSE" && params.arguments.busy) {
|
|
93
|
+
sdkParams.busy = params.arguments.busy;
|
|
94
|
+
}
|
|
95
|
+
// Call the appropriate SDK function based on action
|
|
96
|
+
const response = action === "CLOSE"
|
|
97
|
+
? await (0, cics_for_zowe_sdk_1.closeLocalFile)(session, sdkParams)
|
|
98
|
+
: await (0, cics_for_zowe_sdk_1.openLocalFile)(session, sdkParams);
|
|
99
|
+
params.response.console.log(strings.MESSAGES.SUCCESS, params.arguments.fileName);
|
|
100
|
+
return response;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.default = LocalFileHandler;
|
|
104
|
+
//# sourceMappingURL=LocalFileHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocalFileHandler.js","sourceRoot":"","sources":["../../src/common/LocalFileHandler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;AAEH,+DAAqH;AACrH,iDAAkH;AAClH,wDAAqD;AAIrD,8FAA8F;AAC9F,MAAM,YAAY,GAAI,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAA8B,CAAC,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;AAC1G,MAAM,WAAW,GAAI,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAA8B,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC;AAExG;;;;;;;GAOG;AACH,MAAqB,gBAAiB,SAAQ,iCAAe;IAC3D;;;;OAIG;IACK,aAAa,CAAC,MAA0B;QAC9C,mDAAmD;QACnD,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC;QACrD,IAAI,aAAa,KAAK,OAAO,EAAE,CAAC;YAC9B,OAAO,OAAO,CAAC;QACjB,CAAC;aAAM,IAAI,aAAa,KAAK,MAAM,EAAE,CAAC;YACpC,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,2DAA2D;QAC3D,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,EAAE,CAAC;QAC7C,IAAI,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,EAA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E,MAAM,CAAC,SAAS,CAAC,QAAQ;YAC/B,UAAU,EAAE,MAAM,CAAC,SAAS,CAAC,UAAU;YACvC,QAAQ,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ;SACpC,CAAC;QAEF,2CAA2C;QAC3C,IAAI,MAAM,KAAK,OAAO,IAAI,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;YAChD,SAAS,CAAC,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC;QACzC,CAAC;QAED,oDAAoD;QACpD,MAAM,QAAQ,GAAG,MAAM,KAAK,OAAO;YACjC,CAAC,CAAC,MAAM,IAAA,kCAAc,EAAC,OAAO,EAAE,SAAS,CAAC;YAC1C,CAAC,CAAC,MAAM,IAAA,iCAAa,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAE5C,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QACjF,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAlFD,mCAkFC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
3
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
4
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
7
|
+
*
|
|
8
|
+
* Copyright Contributors to the Zowe Project.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
import type { ICommandDefinition } from "@zowe/imperative";
|
|
12
|
+
/**
|
|
13
|
+
* Definition for the "open" group of commands under the CICS plugin
|
|
14
|
+
*/
|
|
15
|
+
declare const definition: ICommandDefinition;
|
|
16
|
+
export = definition;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
4
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
5
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
8
|
+
*
|
|
9
|
+
* Copyright Contributors to the Zowe Project.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
const CicsSession_1 = require("../CicsSession");
|
|
13
|
+
const OpenLocalFile_1 = require("./OpenLocalFile");
|
|
14
|
+
// Does not use the import in anticipation of some internationalization work to be done later.
|
|
15
|
+
const strings = require("../-strings-/en").default.OPEN;
|
|
16
|
+
/**
|
|
17
|
+
* Definition for the "open" group of commands under the CICS plugin
|
|
18
|
+
*/
|
|
19
|
+
const definition = {
|
|
20
|
+
name: "open",
|
|
21
|
+
aliases: ["opn"],
|
|
22
|
+
summary: strings.SUMMARY,
|
|
23
|
+
description: strings.DESCRIPTION,
|
|
24
|
+
type: "group",
|
|
25
|
+
children: [OpenLocalFile_1.LocalFileDefinition],
|
|
26
|
+
passOn: [
|
|
27
|
+
{
|
|
28
|
+
property: "options",
|
|
29
|
+
value: CicsSession_1.CicsSession.CICS_CONNECTION_OPTIONS,
|
|
30
|
+
merge: true,
|
|
31
|
+
ignoreNodes: [{ type: "group" }],
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
};
|
|
35
|
+
module.exports = definition;
|
|
36
|
+
//# sourceMappingURL=Open.definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Open.definition.js","sourceRoot":"","sources":["../../src/open/Open.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;AAGH,gDAA6C;AAC7C,mDAAsD;AAItD,8FAA8F;AAC9F,MAAM,OAAO,GAAI,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAA8B,CAAC,IAAI,CAAC;AAEhF;;GAEG;AACH,MAAM,UAAU,GAAuB;IACrC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC,OAAO;IACxB,WAAW,EAAE,OAAO,CAAC,WAAW;IAChC,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,CAAC,mCAAmB,CAAC;IAC/B,MAAM,EAAE;QACN;YACE,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,yBAAW,CAAC,uBAAuB;YAC1C,KAAK,EAAE,IAAI;YACX,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;SACjC;KACF;CACF,CAAC;AAEF,iBAAS,UAAU,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
3
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
4
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
7
|
+
*
|
|
8
|
+
* Copyright Contributors to the Zowe Project.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
import type { ICommandDefinition } from "@zowe/imperative";
|
|
12
|
+
/**
|
|
13
|
+
* Local file command definition for the OPEN command group
|
|
14
|
+
*/
|
|
15
|
+
export declare const LocalFileDefinition: ICommandDefinition;
|