CLI for stacked Git commands
Before installing packages, make sure to authenticate your local ~/.npmrc
to
Github Packages so it can read Github Packages.
Generate a PAT using this guide: Creating a Personal Access Token (classic)
1. Make sure the PAT has atleast `read:packages` scope like so:
![image showing permissions required for GH PAT](static/images/ghpermissions.png)
Copy the contents .npmrc.sample
file into a newly created .npmrc
file in
the root of this project. Replace <YOUR_TOKEN_HERE>
with the PAT generated
above.
Run npm i
to install dependencies as usual.
Link the package to your global npm packages:
$ npm link && npm install --global gumption
$ gumption --help
Usage
$ gumption
Options
--name Your name
Examples
$ gumption --name=Jane
Hello, Jane