Helper function to require passing a path pointing to existing directory.
This function is meant to be used with UFCS, so that it can be placed within option definition chain.
new Program("ls") .add(new Argument("directory", "directory to list") .acceptsDirectories() )
FileSystemValidator, acceptsFiles, acceptsPaths
See Implementation
Helper function to require passing a path pointing to existing directory.
This function is meant to be used with UFCS, so that it can be placed within option definition chain.