gluegun
Version:
A delightful toolkit for building Node-powered CLIs.
11 lines (10 loc) • 414 B
TypeScript
import { Command, GluegunCommand } from '../domain/command';
import { Options } from '../domain/options';
/**
* Loads the command from the given file.
*
* @param file The full path to the file to load.
* @return The loaded command.
*/
export declare function loadCommandFromFile(file: string, options?: Options): Command;
export declare function loadCommandFromPreload(preload: GluegunCommand): Command;