Pull a flag manifest from a remote source
Pull a flag manifest from a remote source.
This command fetches feature flag configurations from a specified remote source and saves them locally as a manifest file.
Supported URL schemes:
- http:// - HTTP remote sources
- https:// - HTTPS remote sources
- file:// - Local file paths
How it works:
- Connects to the specified flag source URL
- Downloads the flag configuration data
- Validates and processes each flag definition
- Prompts for missing default values (unless --no-prompt is used)
- Writes the complete manifest to the local file system
Why pull from a remote source:
- Centralized flag management: Keep all flag definitions in a central repository or service
- Team collaboration: Share flag configurations across team members and environments
- Version control: Track changes to flag configurations over time
- Environment consistency: Ensure the same flag definitions are used across different environments
- Configuration as code: Treat flag definitions as versioned artifacts that can be reviewed and deployed
openfeature pull [flags]
--auth-token string The auth token for the flag provider
-h, --help help for pull
--no-prompt Disable interactive prompts for missing default values
--provider-url string The URL of the flag provider
--debug Enable debug logging
-m, --manifest string Path to the flag manifest (default "flags.json")
--no-input Disable interactive prompts
- openfeature - CLI for OpenFeature.