Skip to main content

get_path_command_argument

Function get_path_command_argument 

Source
pub fn get_path_command_argument(text: &str, command: &str) -> Option<String>
Expand description

Parse the path argument from a command text like /export path or /import path. Returns None if no argument is given (command used bare).