hubot-command-mapper
Version:
Helps with mapping tools and commands to Hubot.
17 lines (16 loc) • 726 B
text/typescript
import { ICommand, IContext } from "../../types.mjs";
interface IHelpCommand extends ICommand {
/**
* Called when the command is invoked. The parameters show the
* scope in which the command was called. The match contains
* captured information.
*
* @param {IContext} [context] The context of the help tool that is created.
* @param {string} [helpMsgPrefix] The prefix that should be shown before printing the help.
* @param {string} [noHelpMsg] The message that is shown when no help is available.
* @memberof ICommand
*/
execute(context: IContext, helpMsgPrefix?: string, noHelpMsg?: string): void;
}
export default function createHelpCommand(): IHelpCommand;
export {};