🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

highspot-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highspot-cli

Agent-first CLI for the Highspot API

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

highspot-cli

highspot-cli is an unofficial CLI client for the Highspot REST API.

It is designed for both humans and agents:

  • default output: JSON on stdout
  • script-stable output: --plain
  • diagnostics/errors: stderr

Install

npm install -g highspot-cli

Run without global install:

npx highspot-cli --help
bunx highspot-cli --help
deno run -A npm:highspot-cli --help

Auth

Set credentials with environment variables:

export HIGHSPOT_API_KEY_ID=hs_key_id_xxx
export HIGHSPOT_API_KEY_SECRET=hs_key_secret_xxx

Optional:

export HIGHSPOT_API_ENDPOINT=https://api.highspot.com/v1.0
export HIGHSPOT_HS_USER=user@example.com

HIGHSPOT_HS_USER (or --hs-user) is optional impersonation context. It is not implied by the API key:

  • API key (HIGHSPOT_API_KEY_ID + HIGHSPOT_API_KEY_SECRET) authenticates the caller.
  • hs-user sets an explicit user context for requests where impersonation is needed.
  • CLI flag precedence still applies, so --hs-user overrides HIGHSPOT_HS_USER.

Config Files

Config precedence (highest to lowest):

  • CLI flags
  • Environment variables
  • Project config: .highspot-cli.json
  • User config: ~/.config/highspot-cli/config.json
  • System config: /etc/highspot-cli/config.json

Example .highspot-cli.json:

{
  "endpoint": "https://api.highspot.com/v1.0",
  "hsUser": "user@example.com",
  "maxRetries": 3,
  "retryDelayMs": 1200,
  "timeoutMs": 30000,
  "apiKeyId": "hs_key_id_xxx",
  "apiKeySecret": "hs_key_secret_xxx"
}

Commands

highspot search <query>
highspot item <item-id>
highspot content <item-id>
highspot me

Global flags:

  • -h, --help
  • --version
  • --json (default output mode)
  • --plain (line-based stable output)
  • --dry-run (print request and exit)
  • --hs-user <value>
  • --endpoint <url>
  • --timeout-ms <n>
  • --max-retries <n>
  • --retry-delay-ms <n>
  • --quiet
  • --verbose
  • --no-input
  • --no-color

Exit codes:

  • 0 success
  • 1 API/runtime failure
  • 2 invalid usage or missing configuration

Examples

highspot search "GoGuardian Teacher" --limit 10
highspot search "Beacon" --sort-by date_added --plain
highspot item it_abc123
highspot content it_abc123 --format text/plain --plain
highspot me --json
highspot search "Fleet" --dry-run

Behavior notes:

  • Prompts are not used; --no-input is accepted for automation consistency.
  • Primary data goes to stdout, errors go to stderr.

Development

npm install
npm run build
npm run check
npm run format
node dist/bin/highspot.js --help

Publish (npm)

For advait/highspot-cli:

npm version patch
npm publish --access public

Then tag/push your release in GitHub.

Keywords

highspot

FAQs

Package last updated on 24 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts