Skip to main content

parse_args

Function parse_args 

Source
pub fn parse_args(args: &[String]) -> Args
Expand description

Parse argv tokens the same way as TypeScript parseArgs.

args is the token list after the program name (mirrors Node’s process.argv.slice(2)).