Skip to main content

parse_forced_command_config

Function parse_forced_command_config 

Source
pub fn parse_forced_command_config(authorized_keys: &str) -> Option<String>
Expand description

Extract the --config <path> from a git-ark forced-command line in an authorized_keys body. The path ends at the first quote or whitespace.