Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonchurch/set-gh-status

CLI to set Github User Status
https://github.com/jonchurch/set-gh-status

Last synced: about 1 month ago
JSON representation

CLI to set Github User Status

Awesome Lists containing this project

README

        

# Set Github Status

## Description

Set your [Github User Status](https://help.github.com/en/github/setting-up-and-managing-your-github-profile/personalizing-your-profile#setting-a-status) from the command line.

## Usage

**Requires a Gitub Personal Access Token with the `user` and `notifications` scopes. Go [here to create one](https://github.com/settings/tokens).**

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

```
export SET_STATUS_TOKEN=

set-gh-status -t -m "Shoveling code"
```

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

```
npx set-gh-status -t -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]
```