Class CommandsSection

java.lang.Object
org.wildfly.security.tool.help.HelpSection
org.wildfly.security.tool.help.CommandsSection

public class CommandsSection extends HelpSection
Command section of Elytron help command
Author:
Petr Beran
  • Constructor Details

  • Method Details

    • printHelp

      public void printHelp()
      Description copied from class: HelpSection
      Displays help of specific section
      Specified by:
      printHelp in class HelpSection
    • formatAndPrintCommand

      protected void formatAndPrintCommand(String commandName, CharSequence commandDescription, int longestCommand)
      Formats and prints command and it's respective description
      Parameters:
      commandName - Command's name
      commandDescription - Command's description
      longestCommand - Length of the longest commands. Ensures that all descriptions start at the same column