@adonisjs/ace
Version:
Commandline apps framework used by AdonisJs
7 lines (6 loc) • 319 B
TypeScript
import { CommandConstructorContract } from '../Contracts';
/**
* Validates the command static properties to ensure that all the
* values are correctly defined for a command to be executed.
*/
export declare function validateCommand(command: any, commandPath?: string): asserts command is CommandConstructorContract;