@Service public interface FileNameTabCompleter extends TabCompleter
CompleterService
which provides file name completion, you may use this interface as a dependency and use the
Thermostat-provided file name completions this way.
However, if it is applicable, you may alternatively simply use the convention of naming your
filename option argument -f/--filename (ex. foo-command -f /path/to/file, or
foo-command --filename /path/to/file). If you define your file name completion argument to match
this naming convention exactly in your thermostat-plugin.xml, then the filename completions will
be taken care of automatically by Thermostat.complete
Copyright © 2017. All rights reserved.