Vintner

Grape CLI

Go command-line tool for managing multi-cloud infrastructure via the Trellis platform.

Grape CLI

Grape is the command-line interface for the platform. It provides terminal-based access to all infrastructure operations — creating vineyards, planning and deploying vines, monitoring jobs, and managing Tendrils.

Overview

PropertyValue
LanguageGo
FrameworkCobra (commands) + Charmbracelet (TUI)
VersionManaged by release-please (grape-v* tags)
DistributionHomebrew tap + GitHub Releases (darwin/linux, amd64/arm64)

How It Works

Grape is a thin client that communicates with the Trellis API over HTTPS. It does not run Terraform directly — instead, it queues jobs that Tendrils execute. The CLI handles:

  1. AuthenticationDevice code flow with tokens stored locally
  2. Configuration — Creating and inspecting vineyards and vines
  3. Job submission — Queuing Plan / Deploy / Destroy jobs
  4. Monitoring — Streaming logs, checking job status, waiting for completion
  5. Management — Listing clusters, managing Tendrils

Command Groups

Quick Start

# Install
brew install bobikenobi12/bb-thesis-2026/grape

# Authenticate
grape login

# List vineyards
grape vineyard list

# Plan infrastructure
grape plan --vine-id <id>

# Stream logs
grape jobs logs --id <job-id> --follow

# Deploy
grape harvest --vine-id <id> --plan-job-id <plan-job-id>

On this page