java.lang.Object
com.github.rvesse.airline.examples.io.Decorations
All Implemented Interfaces:
ExampleRunnable

@Command(name="decorations", description="Demonstrates decorated text output") public class Decorations extends Object implements ExampleRunnable
  • Field Details

    • args

      @Arguments(description="Provides the example text to use") private List<String> args
    • hardReset

      @Option(name="--reset", description="When set rather than outputting decorated text only the relevant escape sequence for hard resetting your terminal is output. This is useful if you\'ve used one of the decoration demos that uses features your terminal does not support and have got your terminal in a strange decoration state as a result") private boolean hardReset
  • Constructor Details

    • Decorations

      public Decorations()
  • Method Details

    • main

      public static void main(String[] args)
    • run

      public int run()
      Description copied from interface: ExampleRunnable
      Runs the command and returns an exit code that the application should return
      Specified by:
      run in interface ExampleRunnable
      Returns:
      Exit code