Class CommonOptionsMixin

java.lang.Object
io.micronaut.starter.cli.CommonOptionsMixin

public class CommonOptionsMixin extends Object
Mixin that adds help, version and other common options to a command. Example usage:
 @Command(name = "command")
 class App {
     @Mixin
     CommonOptionsMixin commonOptions // adds common options to the command

     // ...
 }
 
Author:
Remko Popma
  • Field Details

    • showStacktrace

      public boolean showStacktrace
    • verbose

      public boolean verbose
  • Constructor Details

    • CommonOptionsMixin

      public CommonOptionsMixin()