Skip to content

Guice and Apache CLI-based injection of flag values.

Notifications You must be signed in to change notification settings

Todd-Davies/FlagInjection

 
 

Repository files navigation

This is a framework for automatically detecting flagged variables, parsing them with Apache CLI, and injecting them with Guice.

See the example class for examples, but the key thing is that you annotate variables with @Flag, pass classes with flagged variables to Flags.flagBindings, and bootstrap a Guice module that'll do all the desired injection using Flags.bootstrapFlagInjector.

About

Guice and Apache CLI-based injection of flag values.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%