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.2.tar.gz (54.6 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.2-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netrise_turbine_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 54.6 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.2.tar.gz
Algorithm Hash digest
SHA256 a540b13f2e1ab65ddec9cabcc7491eaa2b806a81382290b6dfb2a884a5cb26b2
MD5 9765c85ece58d0c9e169873383c465a5
BLAKE2b-256 ba5263f226f887777198af5ad841d99689be389bc3fb5e5cfe09ca3e409070d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netrise_turbine_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eae31662b2cf0978da42951d1e32079bab57d97dd7fef68df0d3244f59e92be7
MD5 1dae310746c87aa7a481cb10ddb7a93b
BLAKE2b-256 882b02bcbaead9a1e079a6e5ea92a7d9604a47c96b763df0d71f6e1ba8c7bc9d

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