Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1023 Bytes

File metadata and controls

32 lines (24 loc) · 1023 Bytes

instant CLI

Zero-friction infrastructure CLI for instanode.dev.

Install

go install github.com/InstaNode-dev/cli@latest

Usage

Every provisioning command requires a --name flag. The name must be 1–64 characters and match ^[A-Za-z0-9][A-Za-z0-9 _-]*$; omitting it is rejected both locally and by the API (HTTP 400).

instant db new --name app-db          # Provision a Postgres database
instant cache new --name app-cache    # Provision a Redis cache
instant nosql new --name app-docs     # Provision a MongoDB document store
instant queue new --name app-jobs     # Provision a NATS JetStream queue
instant resources                     # List your provisioned resources (requires login)
instant status                        # Show locally tracked resources
instant login                         # Log in to your instanode.dev account
instant whoami                        # Show current account

Build from source

go build -o bin/instant .