Skip to main content

parse_admin_args

Function parse_admin_args 

Source
pub fn parse_admin_args(args: &str) -> AdminArgs
Expand description

Parse the argument string that follows an admin command name.

Splits on ASCII whitespace and extracts the first two tokens. Missing tokens are represented as None — callers apply defaults.