Package com.github.rvesse.airline.examples.inheritance
-
Class Summary Class Description BadGrandchild When inheriting from existing classes the default behaviour is to prevent overriding of options as Airline assumes the conflicting definitions are an error on the part of the developer.BaseCommand Child GoodGrandchild When inheriting from existing classes it is possible to override previously defined options but only if you are explicit about it.MaybeVerboseCommand Parent We can use standard Java inheritance with commands and the child commands will inherit options defined on their parents