Function grabinput::from_args
[−]
[src]
pub fn from_args() -> FromFile
Creates an input handle based on std::env::args().nth(1)
.
The assumption here is that your program is executed as <program> <file>
,
in which case the 1st (not 0th) argument names the file to be read. See
from_path
for support for custom paths.