Function wild::args[][src]

Important traits for Args
pub fn args() -> Args

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

On Windows it emulates the glob expansion itself. The iterator will parse arguments incermentally 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).

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