import { ICommandDefinition } from "@zowe/imperative" ; import { ZosmfSession } from "@zowe/zosmf-for-zowe-sdk" ; export const SystemsDefinition = { name : "systems" , description : "Obtain a list of systems that are defined to a z/OSMF instance." , type : "command" , handler : __dirname + "/Systems.handler" , profile : { optional : [ "zosmf" ] } , options : ZosmfSession . ZOSMF_CONNECTION_OPTIONS , examples : [ { description : "Obtain a list of systems defined to a z/OSMF instance " + "with your default z/OSMF profile" , options : "" } , { description : "Obtain a list of systems defined to a z/OSMF instance " + "for the specified z/OSMF profile" , options : "--zosmf-profile SomeZosmfProfileName" } , { description : "Obtain a list of the systems defined to a z/OSMF instance that you specified in the command line" , options : "--host myhost --port 443 --user myuser --password mypass" } ] } ;