Issue NetView commands and display responses. This REST API will not work for every NetView command. Any command that provides outputs in a panel will not be retrieved.
Note: No specific formatting has been done for command output.
Usage
zowe znetview-base issue command <commandText> [options]
Positional Arguments
-
commandText
(string)
- The command sent to NetView program. Some command line environments have problems with certain special characters. If your command text contains any of these characters, you may need to put your command in single quotes instead of double quotes.
Options
NetView Connection Options
-
--host
| -H
(string)
- The host name of your NetView REST Server.
-
--port
| -P
(number)
- The port number of your NetView REST Server.
-
--user
| -u
(string)
- The user name to authenticate to your NetView REST Server.
-
--password
| --pw
(string)
- The password to authenticate to your NetView REST Server.
-
--token-type
| --tt
(string)
- The type of the token to authenticate to your NetView REST Server. The only token type that is valid when using NetView REST Server authentication is JSESSIONID.
-
--token-value
| --tv
(string)
- The value of the token to authenticate to your NetView REST Server.
-
--base-path
| --bp
(string)
-
The base path for your Zowe API Mediation Layer instance. Specify this option to prepend the base path to NetView REST service when making REST requests to the Zowe API Mediation Layer.
Note: Do not specify this option if you are not using the Zowe API Mediation Layer.
Profile Options
Base Connection Options
-
--reject-unauthorized
| --ru
(boolean)
-
--cert-file
(local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication
Examples