Helper function to require passing a path pointing to existing file.
This function is meant to be used with UFCS, so that it can be placed within option definition chain.
new Program("test") .add(new Option("c", "config", "path to config file") .accpetsFiles() )
FileSystemValidator, acceptsDirectories, acceptsPaths
See Implementation
Helper function to require passing a path pointing to existing file.
This function is meant to be used with UFCS, so that it can be placed within option definition chain.