Skip to main content

parse_args

Function parse_args 

Source
pub fn parse_args(args: &[String]) -> Result<NewInput, String>
Expand description

Reads new’s arguments (not --json). new <template> <dir>, the older form, is new <dir> --template <template>.