1.0.2 • Published 6 years ago

probot-issue-commands v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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(:star:) :point_up_2:

License

MIT © Ahmed T. Ali