A fun command line project made using the commander
CLI library, Okta API, and icanhazdadjoke
API.
This CLI:
- makes dad jokes using the
icanhazdadjoke
API - allows access to authentication tokens and user info via the Okta OAuth 2.0 PKCE protocol
- Clone this repo
- Run
npm install
in the project root - Run
npm install -g .
to install this cli globally
We have 2 commands:
hello
pkce-login
$ hello -n robert
$ hello -n me -s orange
Authenticates via OAuth 2.0 PKCE flow
$ pkce-login