Class CompletionUtils


  • public class CompletionUtils
    extends Object
    Utilities for generating completions.
    Author:
    poirigui
    • Constructor Detail

      • CompletionUtils

        public CompletionUtils()
    • Method Detail

      • generateCompleteCommand

        public static String[] generateCompleteCommand​(CompletionType completionType,
                                                       String... completeArgs)
        Generate a complete command suitable for EnumeratedByCommandConverter.

        The command refers to the CompleteCli tool. If you don't need a full Spring context to produce completions, consider implementing a completion command directly in GemmaCLI.

        Parameters:
        completeArgs - additional arguments to pass to the completion command