style: Addressed CR comments about adding an explicit Command::ConfigPath to the main command match statement

This commit is contained in:
2026-02-04 10:24:59 -07:00
parent 9a6a06ee20
commit 5a4e6c9623
+5 -1
View File
@@ -185,7 +185,11 @@ async fn main() -> Result<()> {
generate(shell, &mut cli, "managarr", &mut io::stdout()) generate(shell, &mut cli, "managarr", &mut io::stdout())
} }
Command::TailLogs { no_color } => tail_logs(no_color).await?, Command::TailLogs { no_color } => tail_logs(no_color).await?,
_ => {} Command::ConfigPath => {
unreachable!(
"ConfigPath command is handled before this match and should be unreachable here"
);
}
}, },
None => { None => {
let app_nw = Arc::clone(&app); let app_nw = Arc::clone(&app);