UNPKG

nativescript

Version:

Command-line interface for building NativeScript projects

28 lines (25 loc) 573 B
interface ICommandsService { currentCommandData: ICommandData; allCommands(opts: { includeDevCommands: boolean }): string[]; tryExecuteCommand( commandName: string, commandArguments: string[] ): Promise<void>; executeCommandUnchecked( commandName: string, commandArguments: string[] ): Promise<boolean>; } /** * Describes the command data. */ interface ICommandData { /** * Name of the command, usually the one registered in bootstrap. */ commandName: string; /** * Additional arguments passed to the command. */ commandArguments: string[]; }