probot-issue-commands
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    Probot: Issue Commands

    Travis npm

    A Probot extension to make it easier to working with issue commands.

    Installation

    $ npm add probot-issue-commands

    Usage

    const { addCommand } = require('probot-issue-commands')
     
    // Type `closes #1, and owner/repo#2`
    addCommand(robot, /clos(es|ing)/, (context, issues) => {
        console.log(issues)
        // ['#1','owner/repo#2', ...]
    })

    Like it?

    Give it a star(⭐️) 👆

    License

    MIT © Ahmed T. Ali

    Keywords

    none

    Install

    npm i probot-issue-commands

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • z0al