The @flagsync/cli
bridges the gap between your feature flags in the FlagSync dashboard and your code. It automatically generates TypeScript type definitions based on your flag configurations, providing:
- Type Safety: Compile-time checking for flag keys and values
- Auto-completion: IntelliSense support for flag names and values
- Secure Authentication: OAuth2 PKCE flow for safe credential management
- Compatible with Node.js 16+ and ES5.
- TypeScript is fully supported
Refer to the CLI documentation for setup instructions and usage details.