UNPKG

@commercelayer/cli

Version:
26 lines (25 loc) 978 B
import { Command } from '@oclif/core'; import type { Config } from '@oclif/core/lib/interfaces'; export default class PluginsAvailable extends Command { static description: string; static examples: string[]; static flags: { hidden: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>; sort: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>; }; run(): Promise<any>; } type PluginRelease = { name: string; plugin: string; description: string; enabled: boolean; hidden?: boolean; version?: string; }; declare const getPluginInfo: (pluginName?: string) => PluginRelease | undefined; declare const getAvailablePlugins: () => PluginRelease[]; declare const getInstalledPlugins: (config: Config) => PluginRelease[]; declare const isPluginInstalled: (name: string, config: Config) => boolean; export { getPluginInfo, getAvailablePlugins, getInstalledPlugins, isPluginInstalled }; export type { PluginRelease };