Skip to content

vorpalengineering/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vorpal CLI

Command-line tool for the Vorpal Engineering platform.

Install

brew install vorpalengineering/tap/vorpal

Or build from source:

go build -o vorpal .

Setup

  1. Create an account at console.vorpalengineering.com
  2. Generate an API key on the Access page
  3. Configure the CLI:
vorpal config set --api-key <your-key>

Command Tree

vorpal
├── config                          View current configuration
│   └── set                         Set configuration values
│       ├── --api-key <key>         API key
│       └── --api-url <url>         API base URL
│
├── knowledge
│   ├── search <text>               Search the knowledge base
│   │   ├── --limit N               Max results (default 5, max 20)
│   │   ├── --threshold N           Similarity threshold (default 0.5)
│   │   └── --json                  Output as JSON
│   │
│   └── list                        List knowledge entries
│       ├── --limit N               Entries per page (default 10)
│       ├── --offset N              Skip N entries
│       ├── --category <name>       Filter by category
│       ├── --severity <level>      Filter by severity
│       └── --json                  Output as JSON
│
├── version                         Show CLI version
└── help                            Show help

Usage

# View config
vorpal config

# Set API key
vorpal config set --api-key ve_live_...

# Search knowledge base
vorpal knowledge search "reentrancy vulnerability"
vorpal knowledge search --json --limit 3 "oracle manipulation"
vorpal knowledge search --threshold 0.3 "access control"

# List knowledge entries
vorpal knowledge list
vorpal knowledge list --category Reentrancy --severity critical

Configuration

Config is stored at ~/.vorpal/config.json:

{
    "api_key": "ve_live_...",
    "api_url": "https://api.vorpalengineering.com"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages