tensordock-cli

A CLI client for TensorDock

Installation

Install using go install github.com/caguiclajmg/tensordock-cli or grab a build from Releases

Build

go build

Usage

Add --help to any command to get contextual help

Configuration

tensordock-cli config --apiKey api_key --apiToken api_token [--serviceUrl service_url]

Go to https://console.tensordock.com/api to get your API key and token

Credentials may also be specified inline with every command using the --apiKey and --apiToken flags

List servers

tensordock-cli servers list

Get server info

tensordock-cli servers info server_id

Start/Stop server

tensordock-cli servers start|stop server_id

Delete server

tensordock-cli servers delete server_id

Open management dashboard in browser

tensordock-cli servers manage server_id

Deploy server

tensordock-cli servers deploy \
    [--gpuModel gpu_model \]
    [--location location \]
    [--instanceType instance_type \]
    [--gpuCount gpu_count \]
    [--vcpus vcpus \]
    [--storage storage \]
    [--storageClass storage_class \]
    [--ram ram \]
    [--os os \]
    name \
    admin_user \
    admin_pass

Get billing info

tensordock-cli billing

GitHub

View Github