Skip to content

Latest commit

 

History

History
69 lines (46 loc) · 1.09 KB

File metadata and controls

69 lines (46 loc) · 1.09 KB

Canine CLI

A command-line tool for interacting with the Canine platform. Create shells into running projects, list projects, and more.

Installation

curl -sSL https://raw.githubusercontent.com/CanineHQ/cli/main/install.sh | sh

macOS (Homebrew)

brew tap CanineHQ/canine
brew install canine

From source

cargo install --path .

Usage

Authentication

Login with your API token:

canine auth login --token <YOUR_TOKEN>

Optionally specify a custom host:

canine auth login --token <YOUR_TOKEN> --host https://your-host.com

Check your authentication status:

canine auth status

Logout:

canine auth logout

Credentials are stored in ~/.canine/canine.yaml.

Projects

List your projects:

canine project list
canine project list --all    # Include archived projects
canine project list --json   # Output as JSON

Open a shell into a project:

canine project shell --name <PROJECT_NAME>
canine project shell --name <PROJECT_NAME> --container <CONTAINER_NAME>