CLI Reference
Installation
Install and configure the Hermes CLI
CLI Installation
The Hermes CLI is a command-line tool that talks directly to all Hermes subsystems.
Prerequisites
- Node.js 18+
- Git
Install
git clone https://github.com/Camie-Tech/hermes-cli.git
cd hermes-cli
npm installNo build step required — the CLI uses ES modules directly.
Configuration
Create a .env file in the CLI directory:
cp .env.example .envEdit .env with your credentials:
HERMES_HOST=https://api.hermes.camie.ai
HERMES_TOKEN=your_jwt_token_hereVerify Installation
node ./bin/hermes.js healthExpected output:
Checking subsystem health...
subsystem name port status ms
─────────────────────────────────────────────
sub-1 Lead Discovery 3011 ✅ UP 197
sub-2 Enrichment 5005 ✅ UP 75
sub-3 Email Campaigns 3007 ✅ UP 22
sub-4 Inbox 3008 ✅ UP 37
sub-5 Infrastructure 3005 ✅ UP 49
sub-6 SMS 3012 ✅ UP 72Usage Pattern
node ./bin/hermes.js <command> <subcommand> [--flags]💡 Tip: Create an alias for easier usage:
alias hermes="node /path/to/hermes-cli/bin/hermes.js"Then use: hermes health, hermes leads list, etc.