From b5aa0ec6601ac6ec5df3bd4c5d365dfb2e7272a5 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Wed, 3 Jan 2024 15:43:09 -0500 Subject: [PATCH] Fix more typos in workflow create commands Signed-off-by: Timothy Johnson --- ...cli.workflows.create.workflowDs.integration.test.ts.snap | 6 +++--- ...li.workflows.create.workflowUss.integration.test.ts.snap | 6 +++--- .../__snapshots__/Dataset.definition.unit.test.ts.snap | 4 ++-- .../__snapshots__/LocalFile.definition.unit.test.ts.snap | 2 +- .../__snapshots__/UssFile.definition.unit.test.ts.snap | 2 +- .../cli/src/workflows/create/dataset/Dataset.definition.ts | 4 ++-- .../src/workflows/create/localfile/LocalFile.definition.ts | 2 +- .../cli/src/workflows/create/ussfile/UssFile.definition.ts | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/cli/__tests__/workflows/__integration__/create/dataset/__snapshots__/cli.workflows.create.workflowDs.integration.test.ts.snap b/packages/cli/__tests__/workflows/__integration__/create/dataset/__snapshots__/cli.workflows.create.workflowDs.integration.test.ts.snap index 2eeb06ba3a..64c609dd66 100644 --- a/packages/cli/__tests__/workflows/__integration__/create/dataset/__snapshots__/cli.workflows.create.workflowDs.integration.test.ts.snap +++ b/packages/cli/__tests__/workflows/__integration__/create/dataset/__snapshots__/cli.workflows.create.workflowDs.integration.test.ts.snap @@ -212,7 +212,7 @@ exports[`Create workflow with data set integration test should display create wo - Create a workflow with name \\"testworkflow\\" using data set \\"TESTID.WKFLOW\\" containing workflow definition xml, on system \\"TESTM1\\" with - owner \\"MYSYSID\\" and delete succesfully completed jobs: + owner \\"MYSYSID\\" and delete successfully completed jobs: $ zowe zos-workflows create workflow-from-data-set \\"testworkflow\\" --data-set \\"TESTID.WKFLOW\\" --system-name \\"TESTM1\\" --owner \\"MYSYSID\\" --delete-completed @@ -235,8 +235,8 @@ exports[`Create workflow with data set integration test should display create wo \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: workflow-from-data-set.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n workflow-from-data-set | wfds\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Create a z/OSMF workflow on a z/OS system using a Data set\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-workflows create workflow-from-data-set [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n workflowName\\\\t\\\\t (string)\\\\n\\\\n Name of the workflow\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --data-set | --ds (string)\\\\n\\\\n Data set that contains a workflow definition.\\\\n\\\\n --system-name | --sn (string)\\\\n\\\\n z/OS system to execute the workflow.\\\\n\\\\n --owner | --ow (string)\\\\n\\\\n User ID of the workflow owner. This user can perform the workflow steps or\\\\n delegate the steps to other users.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --variables-input-file | --vif (string)\\\\n\\\\n Specifies an optional properties file that you can use to pre-specify values for\\\\n one or more of the variables that are defined in the workflow definition file.\\\\n\\\\n --variables | --vs (string)\\\\n\\\\n Includes a list of variables for the workflow. The variables that you specify\\\\n here take precedence over the variables that are specified in the workflow\\\\n variable input file. Make sure the value meets all regular expression\\\\n requirements set for the corresponding variable.\\\\n\\\\n --assign-to-owner | --ato (boolean)\\\\n\\\\n Indicates whether the workflow steps are assigned to the workflow owner.\\\\n\\\\n --access-type | --at (string)\\\\n\\\\n Specifies the access type for the workflow. Public, Restricted or Private.\\\\n\\\\n Allowed values: Public, Restricted, Private\\\\n\\\\n --delete-completed | --dc (boolean)\\\\n\\\\n Whether the successfully completed jobs to be deleted from the JES spool.\\\\n\\\\n --overwrite | --ov (boolean)\\\\n\\\\n Replaces an existing workflow with a new workflow.\\\\n\\\\n ZOSMF CONNECTION OPTIONS\\\\n ------------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The z/OSMF server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The z/OSMF server port.\\\\n\\\\n Default value: 443\\\\n\\\\n --user | -u (string)\\\\n\\\\n Mainframe (z/OSMF) user name, which can be the same as your TSO login.\\\\n\\\\n --password | --pass | --pw (string)\\\\n\\\\n Mainframe (z/OSMF) password, which can be the same as your TSO password.\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n The protocol used (HTTP or HTTPS)\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zosmf-profile | --zosmf-p (string)\\\\n\\\\n The name of a (zosmf) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --show-inputs-only (boolean)\\\\n\\\\n Show command inputs and do not run the command\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using the data\\\\n set \\\\\\"TESTID.WKFLOW\\\\\\" that contains the workflow definition xml on the system\\\\n \\\\\\"TESTM1\\\\\\" with owner \\\\\\"OTHERID\\\\\\" and delete workflow with the same name if it\\\\n already exist in z/OSMF:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"OTHERID\\\\\\" --overwrite\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using data set\\\\n \\\\\\"TESTID.WKFLOW\\\\\\" containing workflow definition xml, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and delete succesfully completed jobs:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --delete-completed\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using data set\\\\n \\\\\\"TESTID.WKFLOW\\\\\\" containing workflow definition xml, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variable values in the member PROPERTIES of data set\\\\n TESTID.DATA:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables-input-file TESTID.DATA(PROPERTIES)\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using the data\\\\n set \\\\\\"TESTID.WKFLOW\\\\\\" that contains a workflow definition xml, on a system\\\\n \\\\\\"TESTM1\\\\\\" with owner \\\\\\"MYSYSID\\\\\\" and with the variable name DUMMYVAR and the value\\\\n DUMMYVAL. Assign it to the owner:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables DUMMYVAR=DUMMYVAL --assign-to-owner\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n workflow-from-data-set | wfds\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Create a z/OSMF workflow on a z/OS system using a Data set\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-workflows create workflow-from-data-set [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n workflowName\\\\t\\\\t (string)\\\\n\\\\n Name of the workflow\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --data-set | --ds (string)\\\\n\\\\n Data set that contains a workflow definition.\\\\n\\\\n --system-name | --sn (string)\\\\n\\\\n z/OS system to execute the workflow.\\\\n\\\\n --owner | --ow (string)\\\\n\\\\n User ID of the workflow owner. This user can perform the workflow steps or\\\\n delegate the steps to other users.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --variables-input-file | --vif (string)\\\\n\\\\n Specifies an optional properties file that you can use to pre-specify values for\\\\n one or more of the variables that are defined in the workflow definition file.\\\\n\\\\n --variables | --vs (string)\\\\n\\\\n Includes a list of variables for the workflow. The variables that you specify\\\\n here take precedence over the variables that are specified in the workflow\\\\n variable input file. Make sure the value meets all regular expression\\\\n requirements set for the corresponding variable.\\\\n\\\\n --assign-to-owner | --ato (boolean)\\\\n\\\\n Indicates whether the workflow steps are assigned to the workflow owner.\\\\n\\\\n --access-type | --at (string)\\\\n\\\\n Specifies the access type for the workflow. Public, Restricted or Private.\\\\n\\\\n Allowed values: Public, Restricted, Private\\\\n\\\\n --delete-completed | --dc (boolean)\\\\n\\\\n Whether the successfully completed jobs to be deleted from the JES spool.\\\\n\\\\n --overwrite | --ov (boolean)\\\\n\\\\n Replaces an existing workflow with a new workflow.\\\\n\\\\n ZOSMF CONNECTION OPTIONS\\\\n ------------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The z/OSMF server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The z/OSMF server port.\\\\n\\\\n Default value: 443\\\\n\\\\n --user | -u (string)\\\\n\\\\n Mainframe (z/OSMF) user name, which can be the same as your TSO login.\\\\n\\\\n --password | --pass | --pw (string)\\\\n\\\\n Mainframe (z/OSMF) password, which can be the same as your TSO password.\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n The protocol used (HTTP or HTTPS)\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zosmf-profile | --zosmf-p (string)\\\\n\\\\n The name of a (zosmf) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --show-inputs-only (boolean)\\\\n\\\\n Show command inputs and do not run the command\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using the data\\\\n set \\\\\\"TESTID.WKFLOW\\\\\\" that contains the workflow definition xml on the system\\\\n \\\\\\"TESTM1\\\\\\" with owner \\\\\\"OTHERID\\\\\\" and delete workflow with the same name if it\\\\n already exist in z/OSMF:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"OTHERID\\\\\\" --overwrite\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using data set\\\\n \\\\\\"TESTID.WKFLOW\\\\\\" containing workflow definition xml, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and delete successfully completed jobs:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --delete-completed\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using data set\\\\n \\\\\\"TESTID.WKFLOW\\\\\\" containing workflow definition xml, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variable values in the member PROPERTIES of data set\\\\n TESTID.DATA:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables-input-file TESTID.DATA(PROPERTIES)\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using the data\\\\n set \\\\\\"TESTID.WKFLOW\\\\\\" that contains a workflow definition xml, on a system\\\\n \\\\\\"TESTM1\\\\\\" with owner \\\\\\"MYSYSID\\\\\\" and with the variable name DUMMYVAR and the value\\\\n DUMMYVAL. Assign it to the owner:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables DUMMYVAR=DUMMYVAL --assign-to-owner\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n workflow-from-data-set | wfds\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Create a z/OSMF workflow on a z/OS system using a Data set\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-workflows create workflow-from-data-set [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n workflowName\\\\t\\\\t (string)\\\\n\\\\n Name of the workflow\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --data-set | --ds (string)\\\\n\\\\n Data set that contains a workflow definition.\\\\n\\\\n --system-name | --sn (string)\\\\n\\\\n z/OS system to execute the workflow.\\\\n\\\\n --owner | --ow (string)\\\\n\\\\n User ID of the workflow owner. This user can perform the workflow steps or\\\\n delegate the steps to other users.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --variables-input-file | --vif (string)\\\\n\\\\n Specifies an optional properties file that you can use to pre-specify values for\\\\n one or more of the variables that are defined in the workflow definition file.\\\\n\\\\n --variables | --vs (string)\\\\n\\\\n Includes a list of variables for the workflow. The variables that you specify\\\\n here take precedence over the variables that are specified in the workflow\\\\n variable input file. Make sure the value meets all regular expression\\\\n requirements set for the corresponding variable.\\\\n\\\\n --assign-to-owner | --ato (boolean)\\\\n\\\\n Indicates whether the workflow steps are assigned to the workflow owner.\\\\n\\\\n --access-type | --at (string)\\\\n\\\\n Specifies the access type for the workflow. Public, Restricted or Private.\\\\n\\\\n Allowed values: Public, Restricted, Private\\\\n\\\\n --delete-completed | --dc (boolean)\\\\n\\\\n Whether the successfully completed jobs to be deleted from the JES spool.\\\\n\\\\n --overwrite | --ov (boolean)\\\\n\\\\n Replaces an existing workflow with a new workflow.\\\\n\\\\n ZOSMF CONNECTION OPTIONS\\\\n ------------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The z/OSMF server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The z/OSMF server port.\\\\n\\\\n Default value: 443\\\\n\\\\n --user | -u (string)\\\\n\\\\n Mainframe (z/OSMF) user name, which can be the same as your TSO login.\\\\n\\\\n --password | --pass | --pw (string)\\\\n\\\\n Mainframe (z/OSMF) password, which can be the same as your TSO password.\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n The protocol used (HTTP or HTTPS)\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zosmf-profile | --zosmf-p (string)\\\\n\\\\n The name of a (zosmf) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --show-inputs-only (boolean)\\\\n\\\\n Show command inputs and do not run the command\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using the data\\\\n set \\\\\\"TESTID.WKFLOW\\\\\\" that contains the workflow definition xml on the system\\\\n \\\\\\"TESTM1\\\\\\" with owner \\\\\\"OTHERID\\\\\\" and delete workflow with the same name if it\\\\n already exist in z/OSMF:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"OTHERID\\\\\\" --overwrite\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using data set\\\\n \\\\\\"TESTID.WKFLOW\\\\\\" containing workflow definition xml, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and delete succesfully completed jobs:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --delete-completed\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using data set\\\\n \\\\\\"TESTID.WKFLOW\\\\\\" containing workflow definition xml, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variable values in the member PROPERTIES of data set\\\\n TESTID.DATA:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables-input-file TESTID.DATA(PROPERTIES)\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using the data\\\\n set \\\\\\"TESTID.WKFLOW\\\\\\" that contains a workflow definition xml, on a system\\\\n \\\\\\"TESTM1\\\\\\" with owner \\\\\\"MYSYSID\\\\\\" and with the variable name DUMMYVAR and the value\\\\n DUMMYVAL. Assign it to the owner:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables DUMMYVAR=DUMMYVAL --assign-to-owner\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n workflow-from-data-set | wfds\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Create a z/OSMF workflow on a z/OS system using a Data set\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-workflows create workflow-from-data-set [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n workflowName\\\\t\\\\t (string)\\\\n\\\\n Name of the workflow\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --data-set | --ds (string)\\\\n\\\\n Data set that contains a workflow definition.\\\\n\\\\n --system-name | --sn (string)\\\\n\\\\n z/OS system to execute the workflow.\\\\n\\\\n --owner | --ow (string)\\\\n\\\\n User ID of the workflow owner. This user can perform the workflow steps or\\\\n delegate the steps to other users.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --variables-input-file | --vif (string)\\\\n\\\\n Specifies an optional properties file that you can use to pre-specify values for\\\\n one or more of the variables that are defined in the workflow definition file.\\\\n\\\\n --variables | --vs (string)\\\\n\\\\n Includes a list of variables for the workflow. The variables that you specify\\\\n here take precedence over the variables that are specified in the workflow\\\\n variable input file. Make sure the value meets all regular expression\\\\n requirements set for the corresponding variable.\\\\n\\\\n --assign-to-owner | --ato (boolean)\\\\n\\\\n Indicates whether the workflow steps are assigned to the workflow owner.\\\\n\\\\n --access-type | --at (string)\\\\n\\\\n Specifies the access type for the workflow. Public, Restricted or Private.\\\\n\\\\n Allowed values: Public, Restricted, Private\\\\n\\\\n --delete-completed | --dc (boolean)\\\\n\\\\n Whether the successfully completed jobs to be deleted from the JES spool.\\\\n\\\\n --overwrite | --ov (boolean)\\\\n\\\\n Replaces an existing workflow with a new workflow.\\\\n\\\\n ZOSMF CONNECTION OPTIONS\\\\n ------------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The z/OSMF server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The z/OSMF server port.\\\\n\\\\n Default value: 443\\\\n\\\\n --user | -u (string)\\\\n\\\\n Mainframe (z/OSMF) user name, which can be the same as your TSO login.\\\\n\\\\n --password | --pass | --pw (string)\\\\n\\\\n Mainframe (z/OSMF) password, which can be the same as your TSO password.\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n The protocol used (HTTP or HTTPS)\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zosmf-profile | --zosmf-p (string)\\\\n\\\\n The name of a (zosmf) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --show-inputs-only (boolean)\\\\n\\\\n Show command inputs and do not run the command\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using the data\\\\n set \\\\\\"TESTID.WKFLOW\\\\\\" that contains the workflow definition xml on the system\\\\n \\\\\\"TESTM1\\\\\\" with owner \\\\\\"OTHERID\\\\\\" and delete workflow with the same name if it\\\\n already exist in z/OSMF:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"OTHERID\\\\\\" --overwrite\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using data set\\\\n \\\\\\"TESTID.WKFLOW\\\\\\" containing workflow definition xml, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and delete successfully completed jobs:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --delete-completed\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using data set\\\\n \\\\\\"TESTID.WKFLOW\\\\\\" containing workflow definition xml, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variable values in the member PROPERTIES of data set\\\\n TESTID.DATA:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables-input-file TESTID.DATA(PROPERTIES)\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using the data\\\\n set \\\\\\"TESTID.WKFLOW\\\\\\" that contains a workflow definition xml, on a system\\\\n \\\\\\"TESTM1\\\\\\" with owner \\\\\\"MYSYSID\\\\\\" and with the variable name DUMMYVAR and the value\\\\n DUMMYVAL. Assign it to the owner:\\\\n\\\\n $ zowe zos-workflows create workflow-from-data-set \\\\\\"testworkflow\\\\\\" --data-set \\\\\\"TESTID.WKFLOW\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables DUMMYVAR=DUMMYVAL --assign-to-owner\\\\n\\\\n\\" }" `; diff --git a/packages/cli/__tests__/workflows/__integration__/create/ussfile/__snapshots__/cli.workflows.create.workflowUss.integration.test.ts.snap b/packages/cli/__tests__/workflows/__integration__/create/ussfile/__snapshots__/cli.workflows.create.workflowUss.integration.test.ts.snap index 4385bffd3b..016a59a445 100644 --- a/packages/cli/__tests__/workflows/__integration__/create/ussfile/__snapshots__/cli.workflows.create.workflowUss.integration.test.ts.snap +++ b/packages/cli/__tests__/workflows/__integration__/create/ussfile/__snapshots__/cli.workflows.create.workflowUss.integration.test.ts.snap @@ -205,7 +205,7 @@ exports[`Create workflow with uss file integration test should display create wo - Create a workflow with name \\"testworkflow\\" using uss file \\"/path/workflow.xml\\" containing workflow definition, on system \\"TESTM1\\" with - owner \\"OTHERID\\" and delete workflow with the same name if it already exist in + owner \\"OTHERID\\" and delete workflow with the same name if it already exists in z/OSMF: $ zowe zos-workflows create workflow-from-uss-file \\"testworkflow\\" --uss-file \\"/path/workflow.xml\\" --system-name \\"TESTM1\\" --owner \\"OTHERID\\" --overwrite @@ -235,8 +235,8 @@ exports[`Create workflow with uss file integration test should display create wo \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: workflow-from-uss-file.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n workflow-from-uss-file | wfuf\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Create a workflow instance in z/OSMF using a USS file\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-workflows create workflow-from-uss-file [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n workflowName\\\\t\\\\t (string)\\\\n\\\\n Name of the workflow instance to create\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --uss-file | --uf (string)\\\\n\\\\n Uss file that contains workflow definition.\\\\n\\\\n --system-name | --sn (string)\\\\n\\\\n z/OS system to execute the workflow.\\\\n\\\\n --owner | --ow (string)\\\\n\\\\n User ID of the workflow owner. This user can perform the workflow steps or\\\\n delegate the steps to other users.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --variables-input-file | --vif (string)\\\\n\\\\n Specifies an optional properties file that you can use to pre-specify values for\\\\n one or more of the variables that are defined in the workflow definition file.\\\\n\\\\n --variables | --vs (string)\\\\n\\\\n Includes a list of variables for the workflow. The variables that you specify\\\\n here take precedence over the variables that are specified in the workflow\\\\n variable input file. Make sure the value meets all regular expression\\\\n requirements set for the corresponding variable.\\\\n\\\\n --assign-to-owner | --ato (boolean)\\\\n\\\\n Indicates whether the workflow steps are assigned to the workflow owner.\\\\n\\\\n --access-type | --at (string)\\\\n\\\\n Specifies the access type for the workflow. Public, Restricted or Private.\\\\n\\\\n Allowed values: Public, Restricted, Private\\\\n\\\\n --delete-completed | --dc (boolean)\\\\n\\\\n Whether the successfully completed jobs to be deleted from the JES spool.\\\\n\\\\n --overwrite | --ov (boolean)\\\\n\\\\n Replaces an existing workflow with a new workflow.\\\\n\\\\n ZOSMF CONNECTION OPTIONS\\\\n ------------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The z/OSMF server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The z/OSMF server port.\\\\n\\\\n Default value: 443\\\\n\\\\n --user | -u (string)\\\\n\\\\n Mainframe (z/OSMF) user name, which can be the same as your TSO login.\\\\n\\\\n --password | --pass | --pw (string)\\\\n\\\\n Mainframe (z/OSMF) password, which can be the same as your TSO password.\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n The protocol used (HTTP or HTTPS)\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zosmf-profile | --zosmf-p (string)\\\\n\\\\n The name of a (zosmf) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --show-inputs-only (boolean)\\\\n\\\\n Show command inputs and do not run the command\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"OTHERID\\\\\\" and delete workflow with the same name if it already exist in\\\\n z/OSMF:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"OTHERID\\\\\\" --overwrite\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and delete successfully completed jobs:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --delete-completed\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variable values in the member PROPERTIES of data set\\\\n TESTID.DATA:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables-input-file TESTID.DATA(PROPERTIES)\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variables VAR1 and VAR2 with values DUMMYVAL1 and\\\\n DUMMYVAL2, and assign it to the owner:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\"--variables VAR1=DUMMYVAL1,VAR2=DUMMYVAL2 --owner \\\\\\"MYSYSID\\\\\\" --assign-to-owner\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n workflow-from-uss-file | wfuf\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Create a workflow instance in z/OSMF using a USS file\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-workflows create workflow-from-uss-file [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n workflowName\\\\t\\\\t (string)\\\\n\\\\n Name of the workflow instance to create\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --uss-file | --uf (string)\\\\n\\\\n Uss file that contains workflow definition.\\\\n\\\\n --system-name | --sn (string)\\\\n\\\\n z/OS system to execute the workflow.\\\\n\\\\n --owner | --ow (string)\\\\n\\\\n User ID of the workflow owner. This user can perform the workflow steps or\\\\n delegate the steps to other users.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --variables-input-file | --vif (string)\\\\n\\\\n Specifies an optional properties file that you can use to pre-specify values for\\\\n one or more of the variables that are defined in the workflow definition file.\\\\n\\\\n --variables | --vs (string)\\\\n\\\\n Includes a list of variables for the workflow. The variables that you specify\\\\n here take precedence over the variables that are specified in the workflow\\\\n variable input file. Make sure the value meets all regular expression\\\\n requirements set for the corresponding variable.\\\\n\\\\n --assign-to-owner | --ato (boolean)\\\\n\\\\n Indicates whether the workflow steps are assigned to the workflow owner.\\\\n\\\\n --access-type | --at (string)\\\\n\\\\n Specifies the access type for the workflow. Public, Restricted or Private.\\\\n\\\\n Allowed values: Public, Restricted, Private\\\\n\\\\n --delete-completed | --dc (boolean)\\\\n\\\\n Whether the successfully completed jobs to be deleted from the JES spool.\\\\n\\\\n --overwrite | --ov (boolean)\\\\n\\\\n Replaces an existing workflow with a new workflow.\\\\n\\\\n ZOSMF CONNECTION OPTIONS\\\\n ------------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The z/OSMF server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The z/OSMF server port.\\\\n\\\\n Default value: 443\\\\n\\\\n --user | -u (string)\\\\n\\\\n Mainframe (z/OSMF) user name, which can be the same as your TSO login.\\\\n\\\\n --password | --pass | --pw (string)\\\\n\\\\n Mainframe (z/OSMF) password, which can be the same as your TSO password.\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n The protocol used (HTTP or HTTPS)\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zosmf-profile | --zosmf-p (string)\\\\n\\\\n The name of a (zosmf) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --show-inputs-only (boolean)\\\\n\\\\n Show command inputs and do not run the command\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"OTHERID\\\\\\" and delete workflow with the same name if it already exists in\\\\n z/OSMF:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"OTHERID\\\\\\" --overwrite\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and delete successfully completed jobs:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --delete-completed\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variable values in the member PROPERTIES of data set\\\\n TESTID.DATA:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables-input-file TESTID.DATA(PROPERTIES)\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variables VAR1 and VAR2 with values DUMMYVAL1 and\\\\n DUMMYVAL2, and assign it to the owner:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\"--variables VAR1=DUMMYVAL1,VAR2=DUMMYVAL2 --owner \\\\\\"MYSYSID\\\\\\" --assign-to-owner\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n workflow-from-uss-file | wfuf\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Create a workflow instance in z/OSMF using a USS file\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-workflows create workflow-from-uss-file [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n workflowName\\\\t\\\\t (string)\\\\n\\\\n Name of the workflow instance to create\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --uss-file | --uf (string)\\\\n\\\\n Uss file that contains workflow definition.\\\\n\\\\n --system-name | --sn (string)\\\\n\\\\n z/OS system to execute the workflow.\\\\n\\\\n --owner | --ow (string)\\\\n\\\\n User ID of the workflow owner. This user can perform the workflow steps or\\\\n delegate the steps to other users.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --variables-input-file | --vif (string)\\\\n\\\\n Specifies an optional properties file that you can use to pre-specify values for\\\\n one or more of the variables that are defined in the workflow definition file.\\\\n\\\\n --variables | --vs (string)\\\\n\\\\n Includes a list of variables for the workflow. The variables that you specify\\\\n here take precedence over the variables that are specified in the workflow\\\\n variable input file. Make sure the value meets all regular expression\\\\n requirements set for the corresponding variable.\\\\n\\\\n --assign-to-owner | --ato (boolean)\\\\n\\\\n Indicates whether the workflow steps are assigned to the workflow owner.\\\\n\\\\n --access-type | --at (string)\\\\n\\\\n Specifies the access type for the workflow. Public, Restricted or Private.\\\\n\\\\n Allowed values: Public, Restricted, Private\\\\n\\\\n --delete-completed | --dc (boolean)\\\\n\\\\n Whether the successfully completed jobs to be deleted from the JES spool.\\\\n\\\\n --overwrite | --ov (boolean)\\\\n\\\\n Replaces an existing workflow with a new workflow.\\\\n\\\\n ZOSMF CONNECTION OPTIONS\\\\n ------------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The z/OSMF server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The z/OSMF server port.\\\\n\\\\n Default value: 443\\\\n\\\\n --user | -u (string)\\\\n\\\\n Mainframe (z/OSMF) user name, which can be the same as your TSO login.\\\\n\\\\n --password | --pass | --pw (string)\\\\n\\\\n Mainframe (z/OSMF) password, which can be the same as your TSO password.\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n The protocol used (HTTP or HTTPS)\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zosmf-profile | --zosmf-p (string)\\\\n\\\\n The name of a (zosmf) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --show-inputs-only (boolean)\\\\n\\\\n Show command inputs and do not run the command\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"OTHERID\\\\\\" and delete workflow with the same name if it already exist in\\\\n z/OSMF:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"OTHERID\\\\\\" --overwrite\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and delete successfully completed jobs:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --delete-completed\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variable values in the member PROPERTIES of data set\\\\n TESTID.DATA:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables-input-file TESTID.DATA(PROPERTIES)\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variables VAR1 and VAR2 with values DUMMYVAL1 and\\\\n DUMMYVAL2, and assign it to the owner:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\"--variables VAR1=DUMMYVAL1,VAR2=DUMMYVAL2 --owner \\\\\\"MYSYSID\\\\\\" --assign-to-owner\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n workflow-from-uss-file | wfuf\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Create a workflow instance in z/OSMF using a USS file\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-workflows create workflow-from-uss-file [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n workflowName\\\\t\\\\t (string)\\\\n\\\\n Name of the workflow instance to create\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --uss-file | --uf (string)\\\\n\\\\n Uss file that contains workflow definition.\\\\n\\\\n --system-name | --sn (string)\\\\n\\\\n z/OS system to execute the workflow.\\\\n\\\\n --owner | --ow (string)\\\\n\\\\n User ID of the workflow owner. This user can perform the workflow steps or\\\\n delegate the steps to other users.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --variables-input-file | --vif (string)\\\\n\\\\n Specifies an optional properties file that you can use to pre-specify values for\\\\n one or more of the variables that are defined in the workflow definition file.\\\\n\\\\n --variables | --vs (string)\\\\n\\\\n Includes a list of variables for the workflow. The variables that you specify\\\\n here take precedence over the variables that are specified in the workflow\\\\n variable input file. Make sure the value meets all regular expression\\\\n requirements set for the corresponding variable.\\\\n\\\\n --assign-to-owner | --ato (boolean)\\\\n\\\\n Indicates whether the workflow steps are assigned to the workflow owner.\\\\n\\\\n --access-type | --at (string)\\\\n\\\\n Specifies the access type for the workflow. Public, Restricted or Private.\\\\n\\\\n Allowed values: Public, Restricted, Private\\\\n\\\\n --delete-completed | --dc (boolean)\\\\n\\\\n Whether the successfully completed jobs to be deleted from the JES spool.\\\\n\\\\n --overwrite | --ov (boolean)\\\\n\\\\n Replaces an existing workflow with a new workflow.\\\\n\\\\n ZOSMF CONNECTION OPTIONS\\\\n ------------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The z/OSMF server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The z/OSMF server port.\\\\n\\\\n Default value: 443\\\\n\\\\n --user | -u (string)\\\\n\\\\n Mainframe (z/OSMF) user name, which can be the same as your TSO login.\\\\n\\\\n --password | --pass | --pw (string)\\\\n\\\\n Mainframe (z/OSMF) password, which can be the same as your TSO password.\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n The protocol used (HTTP or HTTPS)\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zosmf-profile | --zosmf-p (string)\\\\n\\\\n The name of a (zosmf) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --show-inputs-only (boolean)\\\\n\\\\n Show command inputs and do not run the command\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"OTHERID\\\\\\" and delete workflow with the same name if it already exists in\\\\n z/OSMF:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"OTHERID\\\\\\" --overwrite\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and delete successfully completed jobs:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --delete-completed\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variable values in the member PROPERTIES of data set\\\\n TESTID.DATA:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\" --owner \\\\\\"MYSYSID\\\\\\" --variables-input-file TESTID.DATA(PROPERTIES)\\\\n\\\\n - Create a workflow with name \\\\\\"testworkflow\\\\\\" using uss file\\\\n \\\\\\"/path/workflow.xml\\\\\\" containing workflow definition, on system \\\\\\"TESTM1\\\\\\" with\\\\n owner \\\\\\"MYSYSID\\\\\\" and with variables VAR1 and VAR2 with values DUMMYVAL1 and\\\\n DUMMYVAL2, and assign it to the owner:\\\\n\\\\n $ zowe zos-workflows create workflow-from-uss-file \\\\\\"testworkflow\\\\\\" --uss-file \\\\\\"/path/workflow.xml\\\\\\" --system-name \\\\\\"TESTM1\\\\\\"--variables VAR1=DUMMYVAL1,VAR2=DUMMYVAL2 --owner \\\\\\"MYSYSID\\\\\\" --assign-to-owner\\\\n\\\\n\\" }" `; diff --git a/packages/cli/__tests__/workflows/__unit__/create/dataset/__snapshots__/Dataset.definition.unit.test.ts.snap b/packages/cli/__tests__/workflows/__unit__/create/dataset/__snapshots__/Dataset.definition.unit.test.ts.snap index 5ae7d931d5..193d760b9b 100644 --- a/packages/cli/__tests__/workflows/__unit__/create/dataset/__snapshots__/Dataset.definition.unit.test.ts.snap +++ b/packages/cli/__tests__/workflows/__unit__/create/dataset/__snapshots__/Dataset.definition.unit.test.ts.snap @@ -8,11 +8,11 @@ Object { "description": "Create a z/OSMF workflow on a z/OS system using a Data set", "examples": Array [ Object { - "description": "Create a workflow with name \\"testworkflow\\" using the data set \\"TESTID.WKFLOW\\" that contains the workflow definition xml on the system \\"TESTM1\\" with owner \\"OTHERID\\" and delete workflow with the same name if it already exist in z/OSMF", + "description": "Create a workflow with name \\"testworkflow\\" using the data set \\"TESTID.WKFLOW\\" that contains the workflow definition xml on the system \\"TESTM1\\" with owner \\"OTHERID\\" and delete workflow with the same name if it already exists in z/OSMF", "options": "\\"testworkflow\\" --data-set \\"TESTID.WKFLOW\\" --system-name \\"TESTM1\\" --owner \\"OTHERID\\" --overwrite", }, Object { - "description": "Create a workflow with name \\"testworkflow\\" using data set \\"TESTID.WKFLOW\\" containing workflow definition xml, on system \\"TESTM1\\" with owner \\"MYSYSID\\" and delete succesfully completed jobs", + "description": "Create a workflow with name \\"testworkflow\\" using data set \\"TESTID.WKFLOW\\" containing workflow definition xml, on system \\"TESTM1\\" with owner \\"MYSYSID\\" and delete successfully completed jobs", "options": "\\"testworkflow\\" --data-set \\"TESTID.WKFLOW\\" --system-name \\"TESTM1\\" --owner \\"MYSYSID\\" --delete-completed", }, Object { diff --git a/packages/cli/__tests__/workflows/__unit__/create/localfile/__snapshots__/LocalFile.definition.unit.test.ts.snap b/packages/cli/__tests__/workflows/__unit__/create/localfile/__snapshots__/LocalFile.definition.unit.test.ts.snap index 626c6c1388..2b4fe16344 100644 --- a/packages/cli/__tests__/workflows/__unit__/create/localfile/__snapshots__/LocalFile.definition.unit.test.ts.snap +++ b/packages/cli/__tests__/workflows/__unit__/create/localfile/__snapshots__/LocalFile.definition.unit.test.ts.snap @@ -8,7 +8,7 @@ Object { "description": "Create a z/OSMF workflow on a z/OS system using a Local file", "examples": Array [ Object { - "description": "Create a workflow with name \\"testworkflow\\" using the local file \\"TESTID_WKFLOW.xml\\" that contains the workflow definition xml on the system \\"TESTM1\\" with owner \\"OTHERID\\" and delete workflow with the same name if it already exist in z/OSMF", + "description": "Create a workflow with name \\"testworkflow\\" using the local file \\"TESTID_WKFLOW.xml\\" that contains the workflow definition xml on the system \\"TESTM1\\" with owner \\"OTHERID\\" and delete workflow with the same name if it already exists in z/OSMF", "options": "\\"testworkflow\\" --local-file \\"TESTID_WKFLOW.xml\\" --system-name \\"TESTM1\\" --owner \\"OTHERID\\" --overwrite", }, ], diff --git a/packages/cli/__tests__/workflows/__unit__/create/ussfile/__snapshots__/UssFile.definition.unit.test.ts.snap b/packages/cli/__tests__/workflows/__unit__/create/ussfile/__snapshots__/UssFile.definition.unit.test.ts.snap index fd373251be..0778ee62ce 100644 --- a/packages/cli/__tests__/workflows/__unit__/create/ussfile/__snapshots__/UssFile.definition.unit.test.ts.snap +++ b/packages/cli/__tests__/workflows/__unit__/create/ussfile/__snapshots__/UssFile.definition.unit.test.ts.snap @@ -8,7 +8,7 @@ Object { "description": "Create a workflow instance in z/OSMF using a USS file", "examples": Array [ Object { - "description": "Create a workflow with name \\"testworkflow\\" using uss file \\"/path/workflow.xml\\" containing workflow definition, on system \\"TESTM1\\" with owner \\"OTHERID\\" and delete workflow with the same name if it already exist in z/OSMF", + "description": "Create a workflow with name \\"testworkflow\\" using uss file \\"/path/workflow.xml\\" containing workflow definition, on system \\"TESTM1\\" with owner \\"OTHERID\\" and delete workflow with the same name if it already exists in z/OSMF", "options": "\\"testworkflow\\" --uss-file \\"/path/workflow.xml\\" --system-name \\"TESTM1\\" --owner \\"OTHERID\\" --overwrite", }, Object { diff --git a/packages/cli/src/workflows/create/dataset/Dataset.definition.ts b/packages/cli/src/workflows/create/dataset/Dataset.definition.ts index d3667da6e9..65c51b1d1a 100644 --- a/packages/cli/src/workflows/create/dataset/Dataset.definition.ts +++ b/packages/cli/src/workflows/create/dataset/Dataset.definition.ts @@ -52,12 +52,12 @@ export const DataSet: ICommandDefinition = { examples: [ { description: "Create a workflow with name \"testworkflow\" using the data set \"TESTID.WKFLOW\" that contains the workflow " + - "definition xml on the system \"TESTM1\" with owner \"OTHERID\" and delete workflow with the same name if it already exist in z/OSMF", + "definition xml on the system \"TESTM1\" with owner \"OTHERID\" and delete workflow with the same name if it already exists in z/OSMF", options: "\"testworkflow\" --data-set \"TESTID.WKFLOW\" --system-name \"TESTM1\" --owner \"OTHERID\" --overwrite" }, { description: "Create a workflow with name \"testworkflow\" using data set \"TESTID.WKFLOW\" containing workflow definition xml, " + - "on system \"TESTM1\" with owner \"MYSYSID\" and delete succesfully completed jobs", + "on system \"TESTM1\" with owner \"MYSYSID\" and delete successfully completed jobs", options: "\"testworkflow\" --data-set \"TESTID.WKFLOW\" --system-name \"TESTM1\" --owner \"MYSYSID\" --delete-completed" }, { diff --git a/packages/cli/src/workflows/create/localfile/LocalFile.definition.ts b/packages/cli/src/workflows/create/localfile/LocalFile.definition.ts index 71815c6e82..365da73e09 100644 --- a/packages/cli/src/workflows/create/localfile/LocalFile.definition.ts +++ b/packages/cli/src/workflows/create/localfile/LocalFile.definition.ts @@ -54,7 +54,7 @@ export const LocalFile: ICommandDefinition = { examples: [ { description: "Create a workflow with name \"testworkflow\" using the local file \"TESTID_WKFLOW.xml\" that contains the workflow " + - "definition xml on the system \"TESTM1\" with owner \"OTHERID\" and delete workflow with the same name if it already exist in z/OSMF", + "definition xml on the system \"TESTM1\" with owner \"OTHERID\" and delete workflow with the same name if it already exists in z/OSMF", options: "\"testworkflow\" --local-file \"TESTID_WKFLOW.xml\" --system-name \"TESTM1\" --owner \"OTHERID\" --overwrite" } ] diff --git a/packages/cli/src/workflows/create/ussfile/UssFile.definition.ts b/packages/cli/src/workflows/create/ussfile/UssFile.definition.ts index f3b60e9cd0..36fab40237 100644 --- a/packages/cli/src/workflows/create/ussfile/UssFile.definition.ts +++ b/packages/cli/src/workflows/create/ussfile/UssFile.definition.ts @@ -52,7 +52,7 @@ export const UssFile: ICommandDefinition = { examples: [ { description: "Create a workflow with name \"testworkflow\" using uss file \"/path/workflow.xml\" containing workflow definition, " + - "on system \"TESTM1\" with owner \"OTHERID\" and delete workflow with the same name if it already exist in z/OSMF", + "on system \"TESTM1\" with owner \"OTHERID\" and delete workflow with the same name if it already exists in z/OSMF", options: "\"testworkflow\" --uss-file \"/path/workflow.xml\" --system-name \"TESTM1\" --owner \"OTHERID\" --overwrite" }, {