Github plugin

This plugin provides the !gh command for looking up issues and linking to repositories.

Configuration

Both configuration values are required.

github-user
The default username.
github-repo
The default repo.

These defaults are used when they are not provided by the user in the !gh command.

Commands

!gh

Link to the default repo for the default user.

!gh issue-number

Link to the specified issue in the default repo for the default user.

!gh user/repo issue-number

Link to the specified issue for the specified user's repo.

If only the repo is specified (when there's no /), it'll use the default user.

If the user or repo is blank (e.g. user/ or /repo), it'll use the default user or repo.

!gh user repo issue-number

Link to the specified issue for the specified user's repo.