Add helper to easily list all current feature flags
diff --git a/test/list-features/list-features.go b/test/list-features/list-features.go new file mode 100644 index 0000000..66813a4 --- /dev/null +++ b/test/list-features/list-features.go
@@ -0,0 +1,14 @@ +package main + +import ( + "fmt" + "reflect" + + "github.com/letsencrypt/boulder/features" +) + +func main() { + for _, flag := range reflect.VisibleFields(reflect.TypeOf(features.Config{})) { + fmt.Println(flag.Name) + } +}