Function slate::cli::parse_args [] [src]

pub fn parse_args<T>(usage: &str, argv: &Vec<String>) -> Result<T, Error> where
    T: Decodable

Parse arguments based on a USAGE slice string.

This is used mainly by subcommands.