Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Rollout example in help tip #1

@akfzambrana

Description

@akfzambrana

Will be nice to have an example of how to set the rollout flag

Captura de Tela 2020-07-06 às 11 23 58

Accordingly, with the help tip (image above), the rollout flag needs to be a string, but actually the rollout flag's value needs to be a string with an array of objects like this:

tog set my-awesome-flag -r '[{percentage: 30, value: true}]'

If you don't use the correct format, the tog-cli throws an error, but without any user-friendly information 😞 as we can see in the image below

Captura de Tela 2020-07-06 às 11 31 41

I guessed that was an array because of the map method that appears in the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions