github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/cli/cozy-stack_features_ratio.md (about) 1 ## cozy-stack features ratio 2 3 Display and update the feature flags for a context 4 5 ### Synopsis 6 7 8 cozy-stack feature ratio displays the feature flags for a context. 9 10 It can also create, update, or remove flags (with a ratio and value). 11 12 To remove a flag, set it to an empty array (or null). 13 14 15 ``` 16 cozy-stack features ratio <context-name> [flags] 17 ``` 18 19 ### Examples 20 21 ``` 22 $ cozy-stack feature ratio --context beta '{"set_this_flag": [{"ratio": 0.1, "value": 1}, {"ratio": 0.9, "value": 2}] }' 23 ``` 24 25 ### Options 26 27 ``` 28 --context string The context for the feature flags 29 -h, --help help for ratio 30 ``` 31 32 ### Options inherited from parent commands 33 34 ``` 35 --admin-host string administration server host (default "localhost") 36 --admin-port int administration server port (default 6060) 37 -c, --config string configuration file (default "$HOME/.cozy.yaml") 38 --host string server host (default "localhost") 39 -p, --port int server port (default 8080) 40 ``` 41 42 ### SEE ALSO 43 44 * [cozy-stack features](cozy-stack_features.md) - Manage the feature flags 45