Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/src/zosfiles/download/Download.options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const DownloadOptions: { [key: string]: ICommandOptionDefinition } = {
},

/**
* The include hidden option for download
* The overwrite option for downloads
*/
overwrite: {
name: "overwrite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export const AllMembersDefinition: ICommandDefinition = {
DownloadOptions.extension,
DownloadOptions.maxConcurrentRequests,
DownloadOptions.preserveOriginalLetterCase,
DownloadOptions.failFast
DownloadOptions.failFast,
DownloadOptions.overwrite
].sort((a, b) => a.name.localeCompare(b.name)),
examples: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default class AllMembersHandler extends ZosFilesBaseHandler {
maxConcurrentRequests: commandParameters.arguments.maxConcurrentRequests,
preserveOriginalLetterCase: commandParameters.arguments.preserveOriginalLetterCase,
failFast: commandParameters.arguments.failFast,
overwrite: commandParameters.arguments.overwrite,
task: status,
responseTimeout: commandParameters.arguments.responseTimeout
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export const AllMembersMatchingDefinition: ICommandDefinition = {
DownloadOptions.excludePattern,
DownloadOptions.maxConcurrentRequests,
DownloadOptions.preserveOriginalLetterCase,
DownloadOptions.failFast
DownloadOptions.failFast,
DownloadOptions.overwrite
].sort((a, b) => a.name.localeCompare(b.name)),
examples: [
{
Expand All @@ -66,4 +67,4 @@ export const AllMembersMatchingDefinition: ICommandDefinition = {
options: `"ibmuser.cntl" "test*,M*" --exclude-patterns "M2*" --directory output`
}
]
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ export default class AllMembersMatchingHandler extends ZosFilesBaseHandler {
maxConcurrentRequests: commandParameters.arguments.maxConcurrentRequests,
preserveOriginalLetterCase: commandParameters.arguments.preserveOriginalLetterCase,
failFast: commandParameters.arguments.failFast,
overwrite: commandParameters.arguments.overwrite,
task: status,
responseTimeout: commandParameters.arguments.responseTimeout,
memberPatternResponse: response.apiResponse,
});
}
}
}
3 changes: 2 additions & 1 deletion packages/cli/src/zosfiles/download/ds/Dataset.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export const DatasetDefinition: ICommandDefinition = {
DownloadOptions.binary,
DownloadOptions.record,
DownloadOptions.preserveOriginalLetterCase,
DownloadOptions.encoding
DownloadOptions.encoding,
DownloadOptions.overwrite
].sort((a, b) => a.name.localeCompare(b.name)),
examples: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export const DataSetMatchingDefinition: ICommandDefinition = {
DownloadOptions.extensionMap,
DownloadOptions.maxConcurrentRequests,
DownloadOptions.preserveOriginalLetterCase,
DownloadOptions.failFast
DownloadOptions.failFast,
DownloadOptions.overwrite
].sort((a, b) => a.name.localeCompare(b.name)),
examples: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default class DataSetMatchingHandler extends ZosFilesBaseHandler {
maxConcurrentRequests: commandParameters.arguments.maxConcurrentRequests,
preserveOriginalLetterCase: commandParameters.arguments.preserveOriginalLetterCase,
failFast: commandParameters.arguments.failFast,
overwrite: commandParameters.arguments.overwrite,
task: downloadStatus,
responseTimeout: commandParameters.arguments.responseTimeout
};
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/src/zosfiles/download/uss/UssFile.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export const UssFileDefinition: ICommandDefinition = {
DownloadOptions.attributes,
DownloadOptions.file,
DownloadOptions.binary,
DownloadOptions.encoding
DownloadOptions.encoding,
DownloadOptions.overwrite
].sort((a, b) => a.name.localeCompare(b.name)),
examples: [
{
Expand Down
Loading
Loading