github-assistant

0.3.4 • Public • Published

GitHub Assistant

npm version

Scripts to programmatically help with GitHub tasks.

Install

Install and add to devDependencies

npm install github-assistant --save-dev

Features

Creating Releases

Add a script to your package.json

{
  "scripts": {
    "release:create": "create-release"
  }
}

Usage

Usage: create-release [options]

Options:
  --repo, -r          Name of the repo in the format username/reponame
                                                             [string] [required]
  --tag, -t           Version tag to use for the release     [string] [required]
  --branch, -b        Branch to use for the release          [string] [required]
  --gh-token-env-var  Environment variable name for GitHub access token
                                                  [string] [default: "GH_TOKEN"]
  --gh-api-base-url   Base URL of the GitHub API
                                    [string] [default: "https://api.github.com"]
  --prerelease, -p    Mark as a pre-release           [boolean] [default: false]
  --hide-docs         Omit Documentation section from the release notes
                                                      [boolean] [default: false]
  --dry-run           Skip the creation of the release on GitHub, but do
                      everything else                 [boolean] [default: false]
  --debug, -d         Turn on console messages        [boolean] [default: false]
  --help              Show help                                        [boolean]

Readme

Keywords

none

Package Sidebar

Install

npm i github-assistant

Weekly Downloads

75

Version

0.3.4

License

MIT

Unpacked Size

49.3 kB

Total Files

13

Last publish

Collaborators

  • greg-a-smith