[][src]Function argh::from_env

pub fn from_env<T: TopLevelCommand>() -> T

Create a FromArgs type from the current process's env::args.

This function will exit early from the current process if argument parsing was unsuccessful or if information like --help was requested.