pub fn new(arguments: ArgMatches) -> Context {
        // Retrieve the "path" flag. If unavailable, use the current directory instead.
        let path = arguments
            .value_of("path")
            .map(From::from)
            .unwrap_or_else(|| env::current_dir().expect("Unable to identify current directory."));

        Context::new_with_dir(arguments, path)
    }
/// Identify the current working directory and create an instance of Context
/// for it.
Identify the current working directory and create an instance of Context
for it.
Identify the current working directory and create an instance of Context for it .
pub fn new(arguments: ArgMatches) -> Context {
        // Retrieve the "path" flag. If unavailable, use the current directory instead.
        let path = arguments
            .value_of("path")
            .map(From::from)
            .unwrap_or_else(|| env::current_dir().expect("Unable to identify current directory."));
        Context::new_with_dir(arguments, path)
    }
pub fn new ( arguments : ArgMatches ) -> Context { // Retrieve the "path" flag. If unavailable, use the current directory instead. let path = arguments . value_of ( " " ) . map ( From :: from ) . unwrap_or_else ( | | env :: current_dir ( ) . expect ( " " ) ) ; Context :: new_with_dir ( arguments , path ) }
Identify the current working directory and create an instance of Context
for it.
Identify the current working directory and create an instance of Context for it .
arguments
ArgMatches