Package org.kohsuke.args4j.spi

## Annotation Type SubCommand

    @Retention(RUNTIME)
    public @interface SubCommand

Specifies a single sub-command.

Author:
  Kohsuke Kawaguchi
See Also:
  `SubCommandHandler`

### Required Element Summary

Required Elements
`java.lang.Class<?>` `impl` The implementation class of this sub command.
`java.lang.String` `name` Name of the sub-command.

### Element Detail

#### name

    java.lang.String name

Name of the sub-command. This must appear as-is in the command line for this sub-command to be activated.

#### impl

    java.lang.Class<?> impl

The implementation class of this sub command. When a sub-command is selected, this class is instantiated and the rest of the arguments will be parsed against this new instance.