@vite-hub/cli
v0.0.1
Published
Command-line workflows for ViteHub projects.
Readme
@vite-hub/cli
@vite-hub/cli loads the local Vite config, collects package-contributed commands, and runs them from vitehub.
Install
pnpm add -D @vite-hub/cliMinimal API
pnpm vitehub --help
pnpm vitehub agent eval// scripts/vitehub.ts
import { runViteHubCli } from "@vite-hub/cli"
const exitCode = await runViteHubCli({
args: ["agent", "eval"],
cwd: process.cwd(),
})Vite
Commands come from Vite plugins, so package CLIs can stay package-owned. The first public namespace is vitehub agent eval from @vite-hub/agent, backed by Evalite.
Learn more at vitehub.dev.
