@ima/plugin-cli
Version:
IMA.js Plugin CLI tool to build, link, develop IMA.js plugins.
17 lines (16 loc) • 424 B
TypeScript
import { Arguments } from 'yargs';
/**
* Loads and parses package.json at given working directory.
*/
export declare function parsePkgJson(basePath: string): Promise<{
name: string;
main: string;
}>;
/**
* Build command function handler.
*/
export declare function build(args: Arguments): Promise<void>;
/**
* Dev/link command function handler
*/
export declare function watch(args: Arguments): Promise<void>;