Skip to content

ninjaachibi/hello-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-cli

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

Installation

  1. Clone this repo
  2. Run npm install in the project root
  3. Run npm install -g . to install this cli globally

Usage

We have 2 commands:

  1. hello
  2. pkce-login

Random dad jokes

Example

$ hello -n robert

Search dad jokes

Example

$ hello -n me -s orange

Authenticate

Authenticates via OAuth 2.0 PKCE flow

Example

$ pkce-login

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published