@supernovaio/cli
Version:
Supernova.io Command Line Interface
47 lines • 1.61 kB
TypeScript
import * as sdkTypes from "@supernovaio/sdk";
import { z, ZodType } from "zod";
import { SentryCommand } from "../types/index.js";
interface DescribeWorkspacesFlags {
apiKey: string;
proxyUrl?: string;
}
declare const DescribeWorkspaceConfigSchema: z.ZodEffects<z.ZodObject<{
apiKey: z.ZodString;
proxyUrl: z.ZodOptional<z.ZodString>;
workspaceId: z.ZodString;
}, "strip", z.ZodTypeAny, {
workspaceId: string;
apiKey: string;
proxyUrl?: string | undefined;
}, {
workspaceId: string;
apiKey: string;
proxyUrl?: string | undefined;
}>, {
workspaceId: string;
apiKey: string;
proxyUrl?: string | undefined;
}, {
workspaceId: string;
apiKey: string;
proxyUrl?: string | undefined;
}>;
type DescribeWorkspaceConfig = z.infer<typeof DescribeWorkspaceConfigSchema>;
export declare class DescribeWorkspaces extends SentryCommand<DescribeWorkspaceConfig> {
static aliases: string[];
static description: string;
static examples: string[];
static flags: {
apiKey: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
proxyUrl: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
};
get commandId(): string;
get configSchema(): ZodType<DescribeWorkspaceConfig>;
getWorkspaces(flags: DescribeWorkspacesFlags): Promise<{
instance: sdkTypes.Supernova;
workspaces: Array<sdkTypes.Workspace>;
}>;
run(): Promise<void>;
}
export {};
//# sourceMappingURL=describe-workspaces.d.ts.map