Skip to content

burrr-ai/comwit-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comwit CLI

Command-line client for the comwit.io cloud platform — create databases, manage apps, and deploy, against https://api.cloud.comwit.io.

Install

curl -fsSL https://raw.githubusercontent.com/burrr-ai/comwit-cli/main/install.sh | sh

This downloads the binary for your OS/arch from the latest release, verifies its checksum, and installs it to /usr/local/bin (or ~/.local/bin).

GitHub Actions

Use the setup action to install comwit and add it to PATH for later steps:

steps:
  - uses: actions/checkout@v4
  - uses: burrr-ai/comwit-cli@v0
    with:
      version: v0.1.5 # optional; omit to install the latest release

  - run: comwit version

Or with Go:

go install github.com/burrr-ai/comwit-cli/cmd/comwit@latest

Usage

comwit login --token <cwt_token>     # authenticate (token from the dashboard)
comwit projects list
comwit databases create --project <id> --name <name>
comwit databases import-dump --project <id> --name <name> --from-dump dump.sql
comwit databases list --project <id>
comwit apps ...                      # see `comwit --help`
comwit update                        # self-update to the latest release
comwit version

Get a cwt_ token from the platform dashboard, or use comwit login (device flow).

Releasing

./release.sh v0.1.0

Builds darwin/linux × amd64/arm64, writes checksums.txt, and publishes a GitHub Release.

About

comwit — CLI for the comwit.io cloud platform (databases, apps, deploy)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors