MCPcopy Create free account
hub / github.com/NVIDIA-NeMo/Switchyard / parse_args

Method parse_args

crates/switchyard-server/src/cli.rs:66–68  ·  view source on GitHub ↗

Parses command-line arguments using clap.

()

Source from the content-addressed store, hash-verified

64impl ServerArgs {
65 /// Parses command-line arguments using clap.
66 pub(crate) fn parse_args() -> Self {
67 Self::parse()
68 }
69
70 fn into_runtime(self) -> ServerResult<(ServerState, ServerRunOptions)> {
71 let mut state = load_server_state(&self.config)?;

Callers 12

_mainFunction · 0.80
_cli_mainFunction · 0.80
mainFunction · 0.80
_cli_mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls