Skip to main content

parse

Function parse 

Source
pub fn parse() -> Cli
Expand description

Parse the process arguments.

Only the runtime’s own part of the command line reaches clap: node stops reading its options at the entry script, so node args.js -p 8080 hands -p 8080 to the program rather than evaluating 8080. split_argv finds that boundary; the entry script is passed behind -- so a name that starts with a dash is still a file.