CommandLine.Spec (picocli 3.9.6 API)
Date: 2019-04-06

picocli

## Annotation Type CommandLine.Spec

-     @Retention(value=RUNTIME)
       @Target(value={FIELD,METHOD})
      public static @interface CommandLine.Spec

  Fields annotated with `@Spec` will be initialized with the `CommandSpec` for the command the field is part of. Example usage:

       class InjectSpecExample implements Runnable {
           @Spec CommandSpec commandSpec;
           //...
           public void run() {
               // do something with the injected objects
           }
       }

  Since:
    3.2