A migration command line to move your feature flag configuration file from format v0.X to v1.X
10K+
🚨 Attention: The GO Feature Flag has now transitioned to its own organization. We recommend updating your configurations to use gofeatureflag/go-feature-flag-migration-cli. We will continue to provide support for the original organization for a certain period of time.
⚠️ Version v1.35.0 will be the last version of the cli..
Why? Because it is feature complete and because it has been decided to stop supporting v0.x.x format.
The migration command line purpose is to migrate your configuration file from the flag format in version v0.x.x to the format v1.x.x.
We changed the format to extend the capabilities of GO Feature Flag, despite that the old format will still be supported, it is better to update your configuration file.
docker run \
-v $(pwd)/your/configuration_folder:/config \
gofeatureflag/go-feature-flag-migration-cli:latest \
--input-format=yaml \
--input-file=/config/my-go-feature-flag-config-v0.x.x.yaml \
--output-format=yaml \
--output-file=/config/my-go-feature-flag-config-v1.x.x.yaml
The command line has 4 parameters:
| param | description |
|---|---|
--input-file | (mandatory) The location of your configuration file in version v0.x.x. |
--input-format | (mandatory) The format of your current configuration file. Available formats are yaml, json, toml. |
--output-file | (optional) The location where the new configuration file will be stored in version v1.x.x.If omitted the configuration will be output in the console. |
--output-format | (optional) The target format of the configuration. Available formats are yaml, json, toml. If omitted yaml will be used. |
Content type
Image
Digest
sha256:9565d916f…
Size
9.2 MB
Last updated
almost 2 years ago
docker pull thomaspoignant/go-feature-flag-migration-cli