kubesense_flags 1.0.1
kubesense_flags: ^1.0.1 copied to clipboard
Kubesense Feature Flags and Experimentation SDK for client applications.
example/README.md
Kubesense Flags Example #
This package contains command line examples for the Kubesense Feature Flags SDK.
Typed Evaluation #
Provide the client token through the environment, then pass evaluation inputs as arguments:
KUBESENSE_CLIENT_TOKEN=<client-token> \
dart run kubesense_flags_example:typed_evaluation \
--env staging \
--flag-key checkout.enabled \
--flag-type boolean \
--targeting-key test-subject
Optional:
KUBESENSE_APPLICATION_IDsets the Kubesense application ID.--endpointsets the Kubesense collector host. Defaults tous2.kubesense.ai.--targeting-attributesaccepts a JSON object string.