java.lang.Object
com.github.rvesse.airline.examples.cli.commands.BashCompletion
All Implemented Interfaces:
ExampleRunnable

@Command(name="generate-completions", description="Generates a Bash completion script, the file can then be sourced to provide completion for this CLI") public class BashCompletion extends Object implements ExampleRunnable
  • Field Details

  • Constructor Details

    • BashCompletion

      public BashCompletion()
  • Method Details

    • 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