Skip to main content

Turbine GraphQL CLI for human operators and AI agents

Project description

NetRise Turbine CLI

SDK-backed CLI for the Turbine platform — resource-oriented commands for everyday work, full GraphQL API as an escape hatch.

Approach

Two tiers, one runtime:

Tier When to use Example
Curated (default) Everyday tasks — list assets, remediate vulns, manage groups turbine asset list
api Full GraphQL coverage, custom inputs, new SDK ops turbine api assets-relay --schema

Same auth and output modes for both tiers; only rendering changes:

  • TTY — Rich tables, panels, confirmation prompts
  • --output json or pipe — compact JSON on stdout (NDJSON for lists), exit codes, no prompts
Audience Guide
Human operators docs/human.md — runnable examples
AI / automation docs/agent.md — loop, I/O contract, token discipline

Install

Three tiers — pick how much you want:

Tier Command You get
SDK only pip install netrise-turbine-sdk Python SDK
SDK + CLI uv tool install netrise-turbine-cli (or pipx / pip) turbine command, SDK included
Everything turbine skill install Agent skill in Cursor, Claude Code, Codex, and opencode

turbine skill install detects which agent tools you have (~/.cursor, ~/.claude, ~/.agents/~/.codex, ~/.config/opencode) and installs the bundled skill to each; use --agent / --scope project for explicit control and turbine skill status to inspect. Developing in this repo? make turbine-cli-test sets up the poetry env with the local SDK.

Auth

Set credentials via TURBINE_* env vars (legacy unprefixed names still work) or .env:

TURBINE_ENDPOINT · TURBINE_AUDIENCE · TURBINE_DOMAIN · TURBINE_CLIENT_ID · TURBINE_CLIENT_SECRET · TURBINE_ORGANIZATION_ID

turbine auth status
turbine auth login --save   # verify + persist non-secrets to ~/.config/turbine/config.toml

Command map

Resource Commands
asset list, get, upload, files, status, activity, hashes
vuln list, get, overview, remediate
group list, members, create, update, delete, add-assets, remove-assets
component list, grouped, crypto
secret, credential, cert, key, misconfig, license, protection list
user list, invite, delete, remove
org info, settings
search full-text search
api all 114 GraphQL ops + catalog, graphql, schema

Quick start

Human — list assets (lite detail, default):

turbine asset list --limit 10

Agent — catalog then execute:

turbine api catalog --json
turbine asset list --dry-run -o json
turbine api assets-relay --schema -o json

--output / -o may appear before or after the subcommand.

Documentation

File What
docs/human.md Human guide + per-command examples
docs/agent.md Agent playbook
reference.md Generated API index + curated mapping
SKILL.md Cursor agent skill

Regenerate

From repo root:

make turbine-cli-generate

Rebuilds API commands, catalog, coverage manifest, reference, SKILL auto-section, and human examples.

Test

make turbine-cli-test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netrise_turbine_cli-0.1.1.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netrise_turbine_cli-0.1.1-py3-none-any.whl (69.9 kB view details)

Uploaded Python 3

File details

Details for the file netrise_turbine_cli-0.1.1.tar.gz.

File metadata

  • Download URL: netrise_turbine_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for netrise_turbine_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fbeb70f5fd3e9611fd30d98fd15bf2d44dc27d6b7a4ca42119ba7ba73039d604
MD5 bc6559e920facf75f0c696f68ecbe2a5
BLAKE2b-256 2e19b2e479433a6d543045b5fe09747c3992e30e7b2896a776c12d2078e82c1b

See more details on using hashes here.

File details

Details for the file netrise_turbine_cli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for netrise_turbine_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2f220ff1a2a768f04fdacd7fb22b6970ba0c25f1448ef2948c832a4e777de75
MD5 cf4f7eb520f60dfc85d9fa5d04b304c6
BLAKE2b-256 ad7c37e44aafee65f2bfac9abd35e8edc0dee3dff20f13f7824e17560be5637d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page