Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle によって変換されたページ (->オリジナル) /