LaunchDarkly CLI
ldcliThe official command line interface for managing LaunchDarkly feature flags.
The official command line interface for managing LaunchDarkly feature flags.
Create a LaunchDarkly feature flag through the CLI. Other resource commands, dev-server and config are left out. The access token is usually stored with ldcli config, so it is optional here.
ldcli flags createCreate a feature flag in a project from a JSON body.
projectdataaccess_tokenstring--projectdefaultstring--datastring--access-tokenenum--outputplaintextjsonboolean--jsonreadmehelp2026-10Before it fills your prompt, Otty checks the installed ldcli against its version. A form that does not match your version is not offered.