Skip to main content

parse_args

Function parse_args 

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

Options of lean-ctx uninstall: (dry_run, keep_config, keep_binary).

Every argument must be a known flag. A typo such as --dry-rnu used to be ignored and ran a full, irreversible uninstall; it is now an error.