How to: Get feature toggle annotation dataΒΆ

Feature toggles are first defined in the code of an application. We make use of the code_annotations tool, to annotate and summarize the definitions of these components with information regarding their purpose, default values and planned expiration dates.

See the How To with annotation format of feature toggles.

To run the code-annotations tool to collect annotations into a report, run the command (in the codebase of your choice):

code_annotations static_find_annotations --config_file $VIRTUAL_ENV/lib/python3.5/site-packages/code_annotations/config_and_tools/config/feature_toggle_annotations.yaml