import { ICommandDefinition } from "@zowe/imperative" ; import * as path from "path" ; export const registryInstances = { name : "registry-instances" , aliases : [ "ri" ] , type : "command" , summary : "List provisioned instances." , description : "List the provisioned instances from the z/OSMF software registry." , handler : path . join ( __dirname , "/RegistryInstances.handler" ) , profile : { optional : [ "zosmf" ] } , options : [ { name : "all-info" , aliases : [ "ai" ] , description : "Display all available information about provisioned instances (summary by default)." , type : "boolean" } , { name : "filter-by-type" , aliases : [ "fbt" ] , description : "Filter the list of provisioned instances by type (e.g. DB2 or CICS)." , type : "string" } , { name : "filter-by-external-name" , aliases : [ "fben" ] , description : "Filter the list of provisioned instances by External Name." , type : "string" } , { name : "types" , aliases : [ "t" ] , description : "Display a list of all types for provisioned instances (e.g. DB2 or CICS)." , type : "boolean" } ] , examples : [ { description : "List all provisioned instances (with full detail)" , options : "--all-info" } ] } ;