/** * @author jasonHzq * @description 列举指定 spec 下所有 schemas 的命令 */ import type { PontxManager } from "../manager.d.ts"; import type { CliContext } from "../cli-context.d.ts"; /** * 列举 schemas 的选项 */ export interface ListSchemasOptions { /** 使用远程元数据 */ useRemote?: boolean; /** 以 JSON 格式输出 */ json?: boolean; } /** * 列举指定 spec 下的所有 schemas */ export declare function listSchemasCommand(managerOrContext: PontxManager | CliContext, specName: string, options?: ListSchemasOptions): Promise;