pub fn should_load_config(command_name: Option<&str>) -> boolExpand description
Ported from shouldLoadConfig.
command_name is None when no subcommand has been resolved yet
(mirrors Go’s args == nil case, which always loads); Some("") is
unreachable in this port since clap requires a subcommand, but is
accepted for parity with Go’s skip list.