interface ICommandsService { currentCommandData: ICommandData; allCommands(opts: { includeDevCommands: boolean }): string[]; tryExecuteCommand( commandName: string, commandArguments: string[] ): Promise; executeCommandUnchecked( commandName: string, commandArguments: string[] ): Promise; } /** * 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[]; }