import { ICommandDefinition } from "@zowe/imperative" ; import { ZosmfSession } from "@zowe/zosmf-for-zowe-sdk" ; export const StatusDefinition = { name : "status" , description : "Confirm that z/OSMF is running on a system specified in your profile and gather " + "information about the z/OSMF server for diagnostic purposes. The command outputs properties " + "of the z/OSMF server such as version, hostname, and installed plug-ins." , type : "command" , handler : __dirname + "/Status.handler" , profile : { optional : [ "zosmf" ] } , options : ZosmfSession . ZOSMF_CONNECTION_OPTIONS , examples : [ { description : "Report the status of the z/OSMF server that you specified " + "in your default z/OSMF profile" , options : "" } , { description : "Report the status of the z/OSMF server that you specified " + "in a supplied z/OSMF profile" , options : "--zosmf-profile SomeZosmfProfileName" } , { description : "Report the status of the z/OSMF server that you specified manually via command line" , options : "--host myhost --port 443 --user myuser --password mypass" } ] } ;