folly::cli_apply_args_files

Applies args-file expansion to a C-style argument array.

Synopsis

Declared in <folly/cli/Args.h>

std::vector<std::string>
cli_apply_args_files(
    std::filesystem::path const& current_dir,
    int argc,
    char const const** argv);

Return Value

The expanded list of arguments.

Parameters

NameDescription
current_dirThe directory args-file paths are resolved against.
argcThe number of arguments.
argvThe argument array.