MCPcopy Create free account
hub / github.com/emwalker/digraph / parse_args

Function parse_args

backend/src/bin/show.rs:126–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124}
125
126fn parse_args() -> Opts {
127 let args: Vec<String> = env::args().collect();
128 let filename = args.get(1).expect("a file is required").to_owned();
129
130 Opts { filename }
131}
132
133#[tokio::main]
134async fn main() -> Result<()> {

Callers 1

mainFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected