Flags
-
--host <url>API host to authenticate against. -
--token <key>Key inline übergeben (überspringt den Prompt; nützlich für Scripts)
Beispiel
verbumia login --host https://api.verbumia.dev CLI
v0.2.1 · npm · MITEine kleine, scriptbare CLI für alles, was du sonst im Dashboard anklicken würdest: Projekt bootstrappen, Übersetzungen pushen und pullen, CI auf Remote-Drift gaten, einen Blick in die Missing-Key-Queue werfen. MIT-lizenziert, verteilt über npm und Homebrew.
Breaking · 0.1 → 0.2
The whole CLI now runs on the MCP surface, so it needs an API key with the mcp:* scope — project-scoped keys return 403. Generate one in the dashboard under Org Settings → API Keys and re-issue any key you used with 0.1.
Erfordert Node 20 LTS oder neuer. Zwei Binaries werden installiert: verbumia und der kürzere Alias vrb — austauschbar.
terminal 1# einmal global installieren — bin "verbumia" plus kürzerer Alias "vrb"2npm i -g @verbumia/cli 4# oder ohne Installation nutzen5npx @verbumia/cli <command> Hol dir einen API-Key aus Org Settings → API Keys → Create im Dashboard (das Secret wird einmal angezeigt; kopiere den vollständigen vrb_live_<prefix>.<secret>). Nutze Scope project:read für status / pull / missing / projects, project:write für push.
terminal 1# interactive — stores the key per host in ~/.verbumia/credentials (0600)2verbumia login --host https://api.verbumia.dev3API key: vrb_live_••••••••.••••••••••••••••4✓ saved for https://api.verbumia.dev 6# CI — no prompt, key read from the environment7export VERBUMIA_TOKEN=vrb_live_<prefix>.<secret>8verbumia push Resolution order, first wins: the VERBUMIA_TOKEN environment variable, then ~/.verbumia/credentials for the active host. Mint the key under Org Settings → API Keys with the mcp:* scope.
Führe verbumia init in deinem Repo aus, um verbumia.config.json im Root zu scaffolden, oder schreib es von Hand. Die CLI erkennt auch verbumia.config.{ts,js,toml,yml} automatisch, falls du eines dieser Formate bevorzugst.
verbumia.config.json 1# committed to your repo — no secrets here2{3 "host": "https://api.verbumia.dev",4 "project_uuid": "<project_uuid>",5 "version_slug": "main"6} ~/.verbumia/credentials 1# ~/.verbumia/credentials — mode 0600, per user, never commit2{ "default": "https://api.verbumia.dev",3 "hosts": {4 "https://api.verbumia.dev": { "api_key": "vrb_live_..." }5 } } version_slug defaults to main. Keep the API key out of verbumia.config.json — it belongs in the credentials file or VERBUMIA_TOKEN only.
Jeder Befehl akzeptiert --config <path>, um auf eine Nicht-Default-Config-Datei zu zeigen, --token <vrb_live_…>, um die aufgelöste Auth zu überschreiben, und --json, um maschinenlesbare Ausgabe zu erzeugen.
--host <url> API host to authenticate against. --token <key> Key inline übergeben (überspringt den Prompt; nützlich für Scripts) verbumia login --host https://api.verbumia.dev Keine befehlsspezifischen Flags. Nutze die oben beschriebenen globalen Flags.
verbumia logout Keine befehlsspezifischen Flags. Nutze die oben beschriebenen globalen Flags.
verbumia whoami --project <uuid> project_uuid vorausfüllen --version <slug> Version slug to target (defaults to main). --force Overwrite an existing config file. verbumia init --project <uuid> --version main Keine befehlsspezifischen Flags. Nutze die oben beschriebenen globalen Flags.
verbumia projects list --namespace <slug> Restrict to one namespace. verbumia keys list --namespace common --language <code> Limit the diff to one language. --namespace <slug> Limit the diff to one namespace. --src <dir> Source directory (defaults to locales). verbumia status --language <code> Filter by language. --namespace <slug> Filter by namespace. --limit <n> max. Zeilen (Default 20) verbumia missing --limit 50 --dry-run Preview only; sends nothing. --status <draft|translated> Incoming status (default translated). --language <code> Force the language instead of inferring it from the path. --namespace <slug> Force the namespace (required for a bare <lang>.json). --version <slug> Target a non-default version. verbumia import locales/fr/common.json --src <dir> Source directory (defaults to locales). --dry-run Preview only; sends nothing. --status <state> Incoming status (default translated). verbumia push --dry-run --language <code> Limit to one language. --namespace <slug> Limit to one namespace. --dest <dir> Destination directory (defaults to locales). verbumia pull --language fr --nested Emit nested trees instead of flat keys. --out <dir> Write files to a directory instead of stdout. verbumia export --nested --out ./dump --version <slug> Version to publish (defaults to main). --dry-run Preview only; publishes nothing. verbumia releases publish --format <ts|json> Output format: ts (default) or json. --out <file> Write to a file instead of stdout. --cdn <base> CDN base (defaults to https://cdn.verbumia.ca). verbumia snapshot --out src/verbumia-bundles.ts Every command also accepts --host <url> to override the configured API host for a single run.
Aus Transparenzgründen festgepinnt. Jede Änderung kommt in einem Minor-Release mit einem One-Release-Deprecation-Window — bleib auf der neuesten @verbumia/cli und du siehst die Warnung vor dem Bruch.
mcp:* scope — project-scoped keys now return 403. push now sends your entire locales/ tree in a single import call (it was create-key plus a PUT per translation). It is idempotent and prints created / updated / unchanged. import, export, releases publish, snapshot and projects list are new in 0.2.0.