Tggl CLI

raw JSON →
1.4.0 verified Sat Apr 25 auth: no javascript

Tggl CLI is a command-line tool for interacting with the Tggl feature flag management platform. Current stable version is 1.4.0. It allows developers to evaluate feature flags locally, fetch flag configurations, and manage flag states from the terminal. Key differentiators: lightweight, no server dependency, designed for CI/CD workflows and local development. Published as an npm package, primarily used as a dev dependency.

error Command not found: tggl-cli
cause Package not installed globally or not in PATH.
fix
Install with 'npm i -g tggl-cli' or use 'npx tggl-cli'.
gotcha The CLI must be installed as a dev dependency or used via npx; it is not designed for programmatic use.
fix Use 'npm i tggl-cli --save-dev' or 'npx tggl-cli'.
npm install tggl-cli
yarn add tggl-cli
pnpm add tggl-cli

Evaluates a feature flag with a given context using npx.

npx tggl-cli evaluate --context '{"user":{"id":"123"}}'