Skip to content

RevensiAI/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

revensi

Command-line interface for the Revensi API.

Quick start

npx revensi scan example.com

Or install globally:

npm install -g revensi
revensi scan example.com

Authentication

The CLI needs an API key. Get one at revensi.com, then either:

export REVENSI_API_KEY=sk_live_...
revensi scan example.com

…or pass it per call:

revensi scan example.com --api-key sk_live_...

Commands

scan <domain>

Scan a domain via POST https://api.revensi.com/scan.

revensi scan example.com           # formatted summary
revensi scan example.com --json    # raw JSON, for piping into jq

Options

Flag Description
--api-key <k> API key. Falls back to $REVENSI_API_KEY.
--json Print raw JSON response on stdout, no spinner.
--no-color Disable ANSI colors.
-v, --version Print CLI version.
-h, --help Print help. Works for subcommands too.

Exit codes

Code Meaning
0 Success.
1 API error or network failure.
2 Usage error (bad args, missing API key, …).

Requirements

Node.js 18 or later.

License

MIT

About

Command-line interface for the Revensi API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors