@Command-annotated methods are not added if enclosing class does not have @Command annotation.
Example:
class App {
@Option(names = "-a", scope = INHERIT) boolean a;
@Command void sub() {}
}
assertNotNull(new CommandLine(new App()).getSubcommands().get("sub));