Skip to content

Commit

Permalink
Update changelogs, read behavior
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <[email protected]>
  • Loading branch information
awharn committed Feb 22, 2024
1 parent fb97b2e commit ebe1724
Show file tree
Hide file tree
Showing 14 changed files with 132 additions and 101 deletions.
141 changes: 80 additions & 61 deletions npm-shrinkwrap.json

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

6 changes: 3 additions & 3 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ All notable changes to the Zowe CLI package will be documented in this file.

## Recent Changes

- BugFix: Updated additional dependencies for technical currency
- BugFix: Updated engine to Node 16.7.0
- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

- Enhancement: Added new `zowe zos-jobs search job` command, which allows the user to search spool files for a specified string or regular expresion.
- BugFix: Updated dependencies for technical currency
- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202402132108`

Expand Down
6 changes: 3 additions & 3 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All notable changes to the Zowe core SDK package will be documented in this file

## Recent Changes

- BugFix: Updated additional dependencies for technical currency
- BugFix: Updated engine to Node 16.7.0
- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

- BugFix: Updated dependencies for technical currency
- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202401191954`

Expand Down
6 changes: 3 additions & 3 deletions packages/imperative/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All notable changes to the Imperative package will be documented in this file.

## Recent Changes

- BugFix: Updated additional dependencies for technical currency
- BugFix: Updated engine to Node 16.7.0
- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

- BugFix: Updated dependencies for technical currency
- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202402132108`

Expand Down
32 changes: 22 additions & 10 deletions packages/imperative/src/utilities/src/CliUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { CommandProfiles, ICommandOptionDefinition, ICommandPositionalDefinition
import { ICommandArguments } from "../../cmd/src/doc/args/ICommandArguments";
import { IProfile } from "../../profiles";
import { IPromptOptions } from "../../cmd/src/doc/response/api/handler/IPromptOptions";
import { read } from "read";

/**
* Cli Utils contains a set of static methods/helpers that are CLI related (forming options, censoring args, etc.)
Expand Down Expand Up @@ -484,16 +485,27 @@ export class CliUtils {
secToWait = maxSecToWait;
}

const { read } = require("read");
return read({
input: process.stdin,
output: process.stdout,
terminal: true,
prompt: message,
silent: opts?.hideText,
replace: opts?.maskChar,
timeout: secToWait ? (secToWait * 1000) : null // eslint-disable-line @typescript-eslint/no-magic-numbers
});
let response: string | null;
try {
response = await read({
input: process.stdin,
output: process.stdout,
terminal: true,
prompt: message,
silent: opts?.hideText,
replace: opts?.maskChar,
timeout: secToWait ? (secToWait * 1000) : null // eslint-disable-line @typescript-eslint/no-magic-numbers
});
} catch (err) {
if (err.message === "canceled") {
process.exit(2);
} else if (err.message === "timed out") {
// Do nothing, swallow the error
} else {
throw err;
}
}
return response;
}

/**
Expand Down
6 changes: 3 additions & 3 deletions packages/provisioning/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All notable changes to the Zowe provisioning SDK package will be documented in t

## Recent Changes

- BugFix: Updated additional dependencies for technical currency
- BugFix: Updated engine to Node 16.7.0
- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

- BugFix: Updated dependencies for technical currency
- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202311282012`

Expand Down
4 changes: 2 additions & 2 deletions packages/workflows/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OS workflows SDK package will be documented in

## Recent Changes

- BugFix: Updated dependencies for technical currency
- BugFix: Updated engine to Node 16.7.0
- BugFix: Updated dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202311132045`

Expand Down
4 changes: 2 additions & 2 deletions packages/zosconsole/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OS console SDK package will be documented in t

## Recent Changes

- BugFix: Updated dependencies for technical currency
- BugFix: Updated engine to Node 16.7.0
- BugFix: Updated dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202311132045`

Expand Down
6 changes: 3 additions & 3 deletions packages/zosfiles/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All notable changes to the Zowe z/OS files SDK package will be documented in thi

## Recent Changes

- BugFix: Updated additional dependencies for technical currency
- BugFix: Updated engine to Node 16.7.0
- BugFix: Updated additional dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

- BugFix: Updated dependencies for technical currency
- BugFix: Updated dependencies for technical currency [#2057](https://github.com/zowe/zowe-cli/pull/2057)

## `8.0.0-next.202402132108`

Expand Down
4 changes: 2 additions & 2 deletions packages/zosjobs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe z/OS jobs SDK package will be documented in this

## Recent Changes

- BugFix: Updated dependencies for technical currency
- BugFix: Updated engine to Node 16.7.0
- BugFix: Updated dependencies for technical currency [#2061](https://github.com/zowe/zowe-cli/pull/2061)
- BugFix: Updated engine to Node 16.7.0 [#2061](https://github.com/zowe/zowe-cli/pull/2061)

## `8.0.0-next.202402211923`

Expand Down
Loading

0 comments on commit ebe1724

Please sign in to comment.