[][src]Function wild::args

pub fn args() -> Args

Returns an iterator of glob-expanded command-line arguments. Equivalent of std::env::args().

On non-Windows platforms it returns env::args() as-is, assuming expansion has already been done by the shell.

On Windows it emulates the glob expansion itself. The iterator will parse arguments incrementally and access the file system as it parses. This allows reading potentially huge lists of filenames, but it's not an atomic snapshot (use .collect() if you need that).