@launchdarkly/ldcli

Manage LaunchDarkly feature flags from the command line.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

The official command line interface for managing LaunchDarkly feature flags.

Commands

ldcli

Examples

list all feature flags in a project$ ldcli flags list --project-key my-project
create a new feature flag$ ldcli flags create --project-key my-project --flag-key new-flag --name 'My Flag'
toggle a feature flag on or off$ ldcli flags update --project-key my-project --flag-key my-flag --on
check feature flag targeting rules and variations$ ldcli flags get --project-key my-project --flag-key my-flag
manage feature flag environments and rollout percentages$ ldcli flags update --project-key my-project --flag-key my-flag --rollout-percentage 50