pub fn parse_args(args: &[String]) -> Result<NewInput, String>
Reads new’s arguments (not --json). new <template> <dir>, the older form, is new <dir> --template <template>.
new
--json
new <template> <dir>
new <dir> --template <template>