Module org.jline

Class JlineCommandRegistry

    • Constructor Detail

      • JlineCommandRegistry

        public JlineCommandRegistry()
    • Method Detail

      • commandInfo

        public List<String> commandInfo​(String command)
        Description copied from interface: CommandRegistry
        Returns a short info about command known by this registry.
        Parameters:
        command - the command name
        Returns:
        a short info about command
      • commandDescription

        public CmdDesc commandDescription​(List<String> args)
        Description copied from interface: CommandRegistry
        Returns a command description for use in the JLine Widgets framework. Default method must be overridden to return sub command descriptions.
        Parameters:
        args - command (args[0]) and its arguments
        Returns:
        command description for JLine TailTipWidgets to be displayed in the terminal status bar.
      • compileCommandDescription

        public static CmdDesc compileCommandDescription​(String helpMessage)
      • compileCommandInfo

        public static List<String> compileCommandInfo​(String helpMessage)