@feflow/cli
Version:
A front-end flow tool.
22 lines • 1.01 kB
TypeScript
import Feflow from '../';
import { Plugin } from '../universal-pkg/schema/plugin';
declare const _default: (ctx: Feflow) => void;
export default _default;
export declare function getRepoInfo(ctx: Feflow, packageName: string): Promise<any>;
export declare function installPlugin(ctx: Feflow, installPluginStr: string, isGlobal: boolean): Promise<void>;
export declare function getPkgInfo(ctx: Feflow, installPlugin: string): Promise<PkgInfo | undefined>;
export declare class PkgInfo {
static git: number;
static appStore: number;
static dir: number;
repoName: string;
repoFrom: string;
installVersion: string;
checkoutTag: string;
lastCheckoutTag: string;
fromType: number;
constructor(repoName: string, repoUrl: string, installVersion: string, checkoutTag: string, fromType: number);
showName(): string;
}
export declare function updateUniversalPlugin(ctx: Feflow, pkg: string, version: string, plugin: Plugin): Promise<void>;
//# sourceMappingURL=install.d.ts.map