Skip to content

lowasser/FlagInjection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

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