CLIFlags
Flags
8 `hanzo` commands for Flags, each calling one operation on api.hanzo.ai.
Package flags is feature flags: ship it dark, then turn it on for who you pick.
8 commands · API reference →
| Command | Calls | What it does |
|---|---|---|
hanzo flags activity | GET /v1/flags/activity | Returns the caller's flag change log newest-first: every create, update and delete, with the actor and the time. |
hanzo flags decide | POST /v1/flags/decide | Evaluate runs the caller's flag definitions for one identity and returns the flag verdict: which flags are on (or which… |
hanzo flags defs get <key> | GET /v1/flags/defs/{key} | Returns one flag definition by key, or 404 when the caller's store has none under that key. |
hanzo flags defs set <key> | PUT /v1/flags/defs/{key} | Creates or replaces the flag definition at the path's key and returns the stored row. |
hanzo flags defs rm <key> | DELETE /v1/flags/defs/{key} | Removes one flag definition by key and records the deletion in the change log. |
hanzo flags defs list | GET /v1/flags/defs | Returns every flag definition in the caller's (org, project) store, by key, with its version and who last changed it. |
hanzo flags health | GET /v1/flags/health | Health reports that the flag engine is serving. |
hanzo flags create | POST /v1/flags | Evaluate runs the caller's flag definitions for one identity and returns the flag verdict: which flags are on (or which… |
How is this guide?