Glubean CLI Overview
The Glubean CLI is the core execution engine for running verification tests locally, in CI/CD, and for interacting with the Glubean platform.
While you might primarily use the Glubean VS Code Extension during local development, the CLI is the foundation that powers it. It is optimized for speed, producing structured observability data, and running smoothly in headless CI environments.
Installation
# Cross-platform via Deno (requires Deno 2.x)
deno install -Agf -n glubean jsr:@glubean/cli
# Optional script-based install
curl -fsSLo /tmp/glubean-install.sh https://glubean.com/install.sh
sh /tmp/glubean-install.shCore Workflows
The CLI supports three main workflows:
- Test Execution (
glubean run): Running tests with rich filtering, tagging, and output formatting (JUnit, JSON). - Project Setup (
glubean init): Scaffolding new test projects, setting up Git hooks, and configuring CI workflows. - AI Integration (
glubean context): Generating context files (.glubean/ai-context.md) to feed to AI coding assistants like Cursor and Copilot.
Explore the Command Reference for a full list of commands and flags, or check out the Scenarios & Recipes to see how to use the CLI in real-world situations like CI/CD pipelines and multi-environment testing.
Last updated on