sylphx-cli 0.1.1

Sylphx Platform CLI — dogfoods the Rust Management SDK
sylphx-cli-0.1.1 is not a library.

sylphx (CLI)

Production Rust operator CLI for Sylphx Platform. Dogfoods sylphx-sdk-management (Protobuf wire). TypeScript @sylphx/cli is retired.

Install

# from crates.io (when published)
cargo install sylphx-cli

# from this repo
cargo install --path rust-sdk/sylphx-cli --root ~/.local --force
# ensures ~/.local/bin/sylphx is the Rust binary (not npm @sylphx/cli)

Day-1 shipped commands

Command SDK method
sylphx health health
sylphx whoami whoami
sylphx orgs list list_orgs
sylphx projects list list_projects
sylphx projects get <id> get_project
sylphx environments list <project_id> list_environments
sylphx environments get <project_id> <env_id> get_environment
sylphx deployments list <project_id> list_deployments
sylphx api <METHOD> <path> api escape hatch
sylphx version-info contract identity
export SYLPHX_TOKEN=svc_...
export SYLPHX_API_URL=https://api.sylphx.com/v1   # optional
sylphx health --json
sylphx environments list prj_demo --json
sylphx deployments list prj_demo --json
sylphx api get /projects --json

npm is not the install path for this CLI. Use cargo install sylphx-cli.