Skip to content

Commit

Permalink
Update CLI and test snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Jan 9, 2024
1 parent c32ba2c commit 088888f
Show file tree
Hide file tree
Showing 29 changed files with 561 additions and 574 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ exports[`delete data set command should display delete data set help 1`] = `
--cert-file (local file path)
The file path to a certificate file to use for authentication
The file path to a certificate file to use for authentication.
Note: The CLI does not support certificate files that require a password. For
more information, search Troubleshooting PEM Certificates in Zowe Docs.
--cert-key-file (local file path)
Expand Down Expand Up @@ -145,8 +148,8 @@ exports[`delete data set command should display delete data set help 1`] = `
\\"success\\": true,
\\"exitCode\\": 0,
\\"message\\": \\"The help was constructed for command: data-set.\\",
\\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n data-set | ds\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Delete a data set\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-ftp delete data-set <dataSet> [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n dataSet\\\\t\\\\t (string)\\\\n\\\\n The data set (PDS member or physical sequential data set) which you would like\\\\n to delete.\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --for-sure | -f (boolean)\\\\n\\\\n Specify this option to confirm that you want to delete the data set permanently.\\\\n\\\\n FTP CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The hostname or IP address of the z/OS server to connect to.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The port of the z/OS FTP server.\\\\n\\\\n Default value: 21\\\\n\\\\n --user | -u (string)\\\\n\\\\n Username for authentication on z/OS\\\\n\\\\n --password | -p | --pass | --pw (string)\\\\n\\\\n Password to authenticate to FTP.\\\\n\\\\n --secure-ftp (boolean)\\\\n\\\\n Set to true for both control and data connection encryption, 'control' for\\\\n control connection encryption only, or 'implicit' for implicitly encrypted\\\\n control connection (this mode is deprecated in modern times, but usually uses\\\\n port 990). Note: Unfortunately, this plugin's functionality only works with FTP\\\\n and FTPS, not 'SFTP' which is FTP over SSH.\\\\n\\\\n Default value: true\\\\n\\\\n --connection-timeout | --ct (number)\\\\n\\\\n How long (in milliseconds) to wait for the control connection to be established.\\\\n\\\\n Default value: 10000\\\\n\\\\n TLS / SECURE CONNECTION OPTIONS\\\\n -------------------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates. Only specify this if you are connecting to a\\\\n secure FTP instance.\\\\n\\\\n --server-name | --sn (string)\\\\n\\\\n Server name for the SNI (Server Name Indication) TLS extension. Only specify if\\\\n you are connecting securely\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zftp-profile | --zftp-p (string)\\\\n\\\\n The name of a (zftp) 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 --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 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 - Delete the data set \\\\\\"ibmuser.cntl\\\\\\":\\\\n\\\\n $ zowe zos-ftp delete data-set \\\\\\"ibmuser.cntl\\\\\\" -f\\\\n\\\\n\\",
\\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n data-set | ds\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Delete a data set\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-ftp delete data-set <dataSet> [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n dataSet\\\\t\\\\t (string)\\\\n\\\\n The data set (PDS member or physical sequential data set) which you would like\\\\n to delete.\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --for-sure | -f (boolean)\\\\n\\\\n Specify this option to confirm that you want to delete the data set permanently.\\\\n\\\\n FTP CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The hostname or IP address of the z/OS server to connect to.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The port of the z/OS FTP server.\\\\n\\\\n Default value: 21\\\\n\\\\n --user | -u (string)\\\\n\\\\n Username for authentication on z/OS\\\\n\\\\n --password | -p | --pass | --pw (string)\\\\n\\\\n Password to authenticate to FTP.\\\\n\\\\n --secure-ftp (boolean)\\\\n\\\\n Set to true for both control and data connection encryption, 'control' for\\\\n control connection encryption only, or 'implicit' for implicitly encrypted\\\\n control connection (this mode is deprecated in modern times, but usually uses\\\\n port 990). Note: Unfortunately, this plugin's functionality only works with FTP\\\\n and FTPS, not 'SFTP' which is FTP over SSH.\\\\n\\\\n Default value: true\\\\n\\\\n --connection-timeout | --ct (number)\\\\n\\\\n How long (in milliseconds) to wait for the control connection to be established.\\\\n\\\\n Default value: 10000\\\\n\\\\n TLS / SECURE CONNECTION OPTIONS\\\\n -------------------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates. Only specify this if you are connecting to a\\\\n secure FTP instance.\\\\n\\\\n --server-name | --sn (string)\\\\n\\\\n Server name for the SNI (Server Name Indication) TLS extension. Only specify if\\\\n you are connecting securely\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zftp-profile | --zftp-p (string)\\\\n\\\\n The name of a (zftp) 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 --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication.\\\\n\\\\n Note: The CLI does not support certificate files that require a password. For\\\\n more information, search Troubleshooting PEM Certificates in Zowe Docs.\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\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 - Delete the data set \\\\\\"ibmuser.cntl\\\\\\":\\\\n\\\\n $ zowe zos-ftp delete data-set \\\\\\"ibmuser.cntl\\\\\\" -f\\\\n\\\\n\\",
\\"stderr\\": \\"\\",
\\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n data-set | ds\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Delete a data set\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-ftp delete data-set <dataSet> [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n dataSet\\\\t\\\\t (string)\\\\n\\\\n The data set (PDS member or physical sequential data set) which you would like\\\\n to delete.\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --for-sure | -f (boolean)\\\\n\\\\n Specify this option to confirm that you want to delete the data set permanently.\\\\n\\\\n FTP CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The hostname or IP address of the z/OS server to connect to.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The port of the z/OS FTP server.\\\\n\\\\n Default value: 21\\\\n\\\\n --user | -u (string)\\\\n\\\\n Username for authentication on z/OS\\\\n\\\\n --password | -p | --pass | --pw (string)\\\\n\\\\n Password to authenticate to FTP.\\\\n\\\\n --secure-ftp (boolean)\\\\n\\\\n Set to true for both control and data connection encryption, 'control' for\\\\n control connection encryption only, or 'implicit' for implicitly encrypted\\\\n control connection (this mode is deprecated in modern times, but usually uses\\\\n port 990). Note: Unfortunately, this plugin's functionality only works with FTP\\\\n and FTPS, not 'SFTP' which is FTP over SSH.\\\\n\\\\n Default value: true\\\\n\\\\n --connection-timeout | --ct (number)\\\\n\\\\n How long (in milliseconds) to wait for the control connection to be established.\\\\n\\\\n Default value: 10000\\\\n\\\\n TLS / SECURE CONNECTION OPTIONS\\\\n -------------------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates. Only specify this if you are connecting to a\\\\n secure FTP instance.\\\\n\\\\n --server-name | --sn (string)\\\\n\\\\n Server name for the SNI (Server Name Indication) TLS extension. Only specify if\\\\n you are connecting securely\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zftp-profile | --zftp-p (string)\\\\n\\\\n The name of a (zftp) 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 --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 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 - Delete the data set \\\\\\"ibmuser.cntl\\\\\\":\\\\n\\\\n $ zowe zos-ftp delete data-set \\\\\\"ibmuser.cntl\\\\\\" -f\\\\n\\\\n\\"
\\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n data-set | ds\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Delete a data set\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe zos-ftp delete data-set <dataSet> [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n dataSet\\\\t\\\\t (string)\\\\n\\\\n The data set (PDS member or physical sequential data set) which you would like\\\\n to delete.\\\\n\\\\n REQUIRED OPTIONS\\\\n ----------------\\\\n\\\\n --for-sure | -f (boolean)\\\\n\\\\n Specify this option to confirm that you want to delete the data set permanently.\\\\n\\\\n FTP CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The hostname or IP address of the z/OS server to connect to.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The port of the z/OS FTP server.\\\\n\\\\n Default value: 21\\\\n\\\\n --user | -u (string)\\\\n\\\\n Username for authentication on z/OS\\\\n\\\\n --password | -p | --pass | --pw (string)\\\\n\\\\n Password to authenticate to FTP.\\\\n\\\\n --secure-ftp (boolean)\\\\n\\\\n Set to true for both control and data connection encryption, 'control' for\\\\n control connection encryption only, or 'implicit' for implicitly encrypted\\\\n control connection (this mode is deprecated in modern times, but usually uses\\\\n port 990). Note: Unfortunately, this plugin's functionality only works with FTP\\\\n and FTPS, not 'SFTP' which is FTP over SSH.\\\\n\\\\n Default value: true\\\\n\\\\n --connection-timeout | --ct (number)\\\\n\\\\n How long (in milliseconds) to wait for the control connection to be established.\\\\n\\\\n Default value: 10000\\\\n\\\\n TLS / SECURE CONNECTION OPTIONS\\\\n -------------------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates. Only specify this if you are connecting to a\\\\n secure FTP instance.\\\\n\\\\n --server-name | --sn (string)\\\\n\\\\n Server name for the SNI (Server Name Indication) TLS extension. Only specify if\\\\n you are connecting securely\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --zftp-profile | --zftp-p (string)\\\\n\\\\n The name of a (zftp) 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 --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication.\\\\n\\\\n Note: The CLI does not support certificate files that require a password. For\\\\n more information, search Troubleshooting PEM Certificates in Zowe Docs.\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\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 - Delete the data set \\\\\\"ibmuser.cntl\\\\\\":\\\\n\\\\n $ zowe zos-ftp delete data-set \\\\\\"ibmuser.cntl\\\\\\" -f\\\\n\\\\n\\"
}"
`;
Loading

0 comments on commit 088888f

Please sign in to comment.