UNPKG

740 BTypeScriptView Raw
1/**
2 * Exposes the API to generate the ace manifest file. The manifest file
3 * contains the meta data of all the registered commands. This speeds
4 * up the boot cycle of ace
5 */
6export declare class ManifestGenerator {
7 private basePath;
8 private commands;
9 constructor(basePath: string, commands: string[]);
10 /**
11 * Loads a given command from the disk. A command line can recursively
12 * exposed sub command paths. But they should be resolvable using
13 * the base path
14 */
15 private loadCommand;
16 /**
17 * Loads all the commands from the disk recursively.
18 */
19 private loadCommands;
20 /**
21 * Generates and writes the ace manifest file to the base path
22 */
23 generate(): Promise<void>;
24}