Some features might be available behind a feature flag. This allows to ship new code and tests it in production without showing unfinished work to users. You can enable them for specific users.
If you’re unfamiliar with the CLI, you’re encouraged to take a look at its documentation.
First of all, you can list the features with the following command:
$ ./cli --request /features
feeds
Here, there is only one feature: feeds.
You should now list the users to get there ids:
$ ./cli --request /users
44ff4da402379f91ab0b1cf2a12bf6d4 2021-04-07 [email protected]
a97f04ac01bce558a06fca5023cd3b54 2021-04-07 [email protected]
8dff621fbf93ee18b39ee48fe6ec44d4 2021-04-14 [email protected]
Each line corresponds to a user, it shows: id, creation date and email.
If you want to enable the feature feeds
for the user [email protected]
, you
must run the following command:
$ ./cli --request /features/enable -ptype=feeds -puser_id=8dff621fbf93ee18b39ee48fe6ec44d4
feeds is enabled for user 8dff621fbf93ee18b39ee48fe6ec44d4 ([email protected])
Then, the user should be able to access the feeds
feature.
You can list the enabled flags:
$ ./cli --request /features/flags
feeds 8dff621fbf93ee18b39ee48fe6ec44d4 [email protected]
Each line corresponds to an enabled flag, it shows: flag type, user id, user email.
You can disable the flags at any moment:
$ ./cli --request /features/disable -ptype=feeds -puser_id=8dff621fbf93ee18b39ee48fe6ec44d4
feeds is disabled for user 8dff621fbf93ee18b39ee48fe6ec44d4 ([email protected])