i have a cli written by java, there has a command like 'set '
is the name user input,
is executable path
i try to complete it but fail to do;
here is my code:
ArgumentCompleter addArgumentCompleter = new ArgumentCompleter(
new StringsCompleter(addCommands),
new StringsCompleter("<alias>"),
new Completers.FileNameCompleter(),
NullCompleter.INSTANCE);
addArgumentCompleter.setStrict(false);
i want to know whether there is a way to make Completers.FileNameCompleter() work while is inputed by user