1.1.2 • Published 3 years ago
gh-status-updater v1.1.2
gh-status-updater
A simple command you can use to update your GitHub profile status.
Installation
Use the package manager npm to install gh-status-updater.
npm install -g gh-status-updater
Usage
CLI
update-gh-status
# GitHub user-level access token (Only necessary on first run)
--token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# The message of the status
--message="Working from home"
# The emoji of the status
--emoji=🏡
JavaScript module
import updateGhStatus from "gh-status-updater";
await updateGhStatus("Working from home", "🏡", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
Demo
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.