Validators¶
Function
|
Description
|
---|---|
ExistingFileWordExp | Checks whether file exists (after expansion)
|
-
std::string
alice
::
ExistingFileWordExp
(const std::string &filename)¶ Checks whether file exists (after expansion)
Before checking whether the file exists, tilde characters for home directories and environment variables are expanded (using
wordexp
).In Windows this method is just forwarding to
CLI::EistingFile
and does not perform any substitution.Camel case convention for this function is intentional to match the convention of CLI11, since this function is used when declaring CLI options.
- Parameters
filename
: Filename