MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / fmt

Method fmt

crates/openshell-cli/src/main.rs:622–629  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

620
621impl std::fmt::Display for CompletionShell {
622 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
623 match self {
624 Self::Bash => write!(f, "bash"),
625 Self::Fish => write!(f, "fish"),
626 Self::Zsh => write!(f, "zsh"),
627 Self::Powershell => write!(f, "powershell"),
628 }
629 }
630}
631
632const COMPLETIONS_HELP: &str = "\

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected