How to set filecompleter for every command arguments in java jline ConsoleReader? -
i need add file names completer every command parameters.
consolereader consolereader = new consolereader(); consolereader.addcompleter(new filenamecompleter()); consolereader.addcompleter(new argumentcompleter(new filenamecompleter()));
this completes first word (the command name). how should add argument completer?
Comments
Post a Comment