Skip to content

Commit

Permalink
Merge pull request #1435 from zowe/files-download-data-sets-matching
Browse files Browse the repository at this point in the history
Contribute `zowe files download dataset-matching` command
  • Loading branch information
t1m0thyj authored Jul 6, 2022
2 parents 700292e + 37a25cd commit 884d62a
Show file tree
Hide file tree
Showing 45 changed files with 3,051 additions and 91 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/zowe-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]
os: [windows-latest, ubuntu-latest, macos-latest]

env:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.61.0 # See https://github.com/zowe/zowe-cli/issues/1466
override: true

- name: Checkout Imperative
Expand Down
2 changes: 1 addition & 1 deletion __tests__/__packages__/cli-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@types/js-yaml": "^4.0.0",
"@types/node": "^14.14.37",
"@types/uuid": "^8.3.0",
"@zowe/imperative": "5.3.3",
"@zowe/imperative": "5.3.4",
"eslint": "^7.32.0",
"typescript": "^4.2.3"
},
Expand Down
63 changes: 31 additions & 32 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"prepack": "node scripts/prepareLicenses.js"
},
"dependencies": {
"@zowe/imperative": "5.3.3",
"@zowe/imperative": "5.3.4",
"@zowe/perf-timing": "1.0.7"
},
"devDependencies": {
Expand Down Expand Up @@ -141,4 +141,4 @@
"jest-junit": {
"output": "__tests__/__results__/junit.xml"
}
}
}
5 changes: 5 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to the Zowe CLI package will be documented in this file.

## Recent Changes

- Enhancement: Added the `zowe files download data-sets-matching` command to download multiple data sets at once. [#1287](https://github.com/zowe/zowe-cli/issues/1287)
- Note: If you used this command previously in the extended files plug-in for Zowe v1, the `--fail-fast` option now defaults to true which is different from the original behavior.

## `7.2.4`

- BugFix: Fixed the Zowe Daemon binary exiting with an error if the daemon server does not start within 3 seconds.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
dsn=$1
rfj=$2
set -e

echo "================Z/OS FILES DOWNLOAD DATASET MATCHING==============="
zowe zos-files download dsm "$1" $2 $3
if [ $? -gt 0 ]
then
exit $?
fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
set -e

echo "================Z/OS FILES DOWNLOAD DATASET MATCHING HELP==============="
zowe zos-files download dsm --help
if [ $? -gt 0 ]
then
exit $?
fi

echo "================Z/OS FILES DOWNLOAD DATASET MATCHING HELP WITH RFJ==========="
zowe zos-files download dsm --help --rfj
exit $?
Loading

0 comments on commit 884d62a

Please sign in to comment.