java.lang.Object
com.github.rvesse.airline.examples.modules.Modules
All Implemented Interfaces:
ExampleRunnable

@Command(name="modules", description="A command that demonstrates the use of modules to group together sets of options for composition and reuse") public class Modules extends Object implements ExampleRunnable
If you have some set of options that make sense together you can modularize them out as a class and inject them into your actual command class

This is particularly useful if you want to avoid using inheritance for options, especially in cases where different commands may use different combinations of some common option sets