Use Reflag in your CLI
High-level guide to flagging features in your CLI
If you use API token for auth
POST /get-flags
Authorization: Bearer <APIKEY>{
flags: ['flag1', 'flag2']
}/function isFlagEnabled(flag: string) {
return flags.contains('myflag');
}If you use API token for auth AND Node.js
POST /get-flags
Authorization: Bearer <APIKEY>If you use OAuth for auth
Last updated
Was this helpful?