Skip to content
/ ugh Public

Command-line utilities for GitHub

License

Notifications You must be signed in to change notification settings

namoscato/ugh

Repository files navigation

CI npm version

ugh

Command-line utilities for GitHub

Installation

npm i -g amo-ugh

Dependencies

This utility depends on hub, which must also be installed.

Configuration

Command-specific configuration is defined in an ~/.amo-ugh JSON file located in the user's home directory.

Usage

ugh <command>

Commands

pull-request [--base <base>] <template> <head> <message>

Create a <base>...<head> pull request across repositories with the specified <message> where <template> references a configuration property, i.e.

{
  "pull-request": {
    "my-template": {
      "defaults": {
        "assign": "namoscato",
        "labels": "automation"
      },
      "repos": [
        "~/dev/git/ugh"
      ]
    }
  }
}

See hub-pull-request