{"library":"flagsmith-cli","type":"library","category":null,"description":"The `flagsmith-cli` is a command-line interface tool designed to fetch feature flags and environment configurations from the Flagsmith API. Its primary use case is to generate a local JSON file, typically `flagsmith.json`, which can then be baked into an application as default flag state. This enables defensive coding practices, provides offline support, and facilitates CI/CD integration for feature flag management. The current stable version is `0.2.3`. Releases occur on an as-needed basis, focusing on bug fixes, dependency updates, and minor feature additions. The CLI is built on Oclif and ships with TypeScript types, targeting Node.js environments `>=12.0.0`. It serves as a crucial component for applications leveraging Flagsmith in scenarios requiring static flag data.","language":"javascript","status":"active","version":"0.2.3","tags":["javascript","oclif","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install flagsmith-cli","imports":["npx flagsmith get","import state from './flagsmith.json'","import flagsmith from 'flagsmith'"]},{"cmd":"yarn add flagsmith-cli","imports":[]},{"cmd":"pnpm add flagsmith-cli","imports":[]}],"homepage":"https://flagsmith.com","github":"https://github.com/Flagsmith/flagsmith-cli","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/flagsmith-cli","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/flagsmith-cli/compatibility"}}