go-feature-flag-migration-cli
GO Feature Flag migration cli to go from v0.x.x format to v1.x.x
2.1K
⚠️ 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 gofeatureflag/go-feature-flag-migration-cli:v1.34Pulls:
128
Last week