Skip to content

mring33621/buncho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BUNCHO

Buncho logo image

  1. The Buncho Java library currently provides very simple support for feature flags.
  2. Just implement the 'FeatureFlags' interface and you're good to go.
  3. It has 2 default methods that might do everything you need.
  4. If not, then override them to do what you want.
  5. There are 2 ways to set a feature flag:
    1. Create a file named $baseDir/$featureName_[true, false]
    2. Set a boolean system property named buncho.$featureName=[true, false]
  6. The default baseDir for files is ~/.buncho
  7. The file approach takes precedence over the system property approach, as it is intended for emergency changes without restarting the JVM.
  8. Examples:
    1. ~/.buncho/awesomeFeature_true
    2. -Dbuncho.awesomeFeature=true
  9. I'm using Java 21, but Buncho will probably work with Java 8.

License: Apache 2.0

About

Simple feature flags for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages