set-gh-status

1.1.0 • Public • Published

Set Github Status

Description

Set your Github User Status from the command line.

Usage

Requires a Gitub Personal Access Token with the user and notifications scopes. Go here to create one.

You can either export your token as an environment variable SET_STATUS_TOKEN, or pass it as an option:

export SET_STATUS_TOKEN=<your_token>

set-gh-status -t <your_token> -m "Shoveling code"

To use set-gh-status, either install it globally from npm, or run it with npx:

npx set-gh-status -t <your_token> -m "Squashing bugs and giving hugs" -e ❤️

npm i -g set-gh-status

Options

To see all options run set-gh-status --help.

npx set-gh-status --help

Options:
  -m, --message  status message to set
  -e, --emoji    status emoji, in unicode or :emoji: form
  -b, --busy     indicate if busy                                      [boolean]
  -t, --token    Github personal access token, requires user scopes
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

Readme

Keywords

none

Package Sidebar

Install

npm i set-gh-status

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

5.6 kB

Total Files

6

Last publish

Collaborators

  • jonchurch