tau
is a command-line interface (CLI) tool for interacting with Taubyte-based Clouds. It enables users to create, manage projects, applications, resources, and more directly from the terminal.
npm i @taubyte/cli
curl https://get.tau.link/cli | sh
go install github.com/taubyte/tau-cli@latest
You can rename tau-cli
to tau
or create an alias.
git clone https://github.com/taubyte/tau-cli
cd tau
go build -o ~/go/bin/tau
Fails faster if exploring an unregistered project
go build -o ~/go/bin/otau -tags=localAuthClient
tau login
- opens selection with default already selected
- simply logs in if only default available
- will open new if no profiles found
tau login --new
for new
--set-default
for making this new auth the defaulttau login <profile-name>
for using a specific profile
TAUBYTE_PROJECT
Selected projectTAUBYTE_PROFILE
Selected profileTAUBYTE_APPLICATION
Selected applicationTAUBYTE_CONFIG (default: ~/tau.yaml)
Config locationTAUBYTE_SESSION (default: /tmp/tau-<shell-pid>)
Session locationDREAM_BINARY (default: $GOPATH/dream)
Dream binary location
go test -v ./...
$ cd tests
Edit air config cmd = "go test -v --run <Function|Database|...> [-tags=no_rebuild]
(Optional) Add debug: true,
to an individual test
$ air
go run ./prompts/internal
go test -v ./... -tags=localAuthClient,projectCreateable,localPatrick,cover,noPrompt -coverprofile cover.out -coverpkg ./...
go tool cover -html=cover.out
go tool cover -func=cover.out
For documentation head to tau.how