MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / exec_subcommand

Function exec_subcommand

crates/cli/src/subcommands/login.rs:88–93  ·  view source on GitHub ↗
(config: Config, cmd: &str, args: &ArgMatches)

Source from the content-addressed store, hash-verified

86}
87
88async fn exec_subcommand(config: Config, cmd: &str, args: &ArgMatches) -> Result<(), anyhow::Error> {
89 match cmd {
90 "show" => exec_show(config, args).await,
91 unknown => Err(anyhow::anyhow!("Invalid subcommand: {unknown}")),
92 }
93}
94
95async fn exec_show(config: Config, args: &ArgMatches) -> Result<(), anyhow::Error> {
96 let include_token = args.get_flag("token");

Callers 1

execFunction · 0.70

Calls 2

exec_showFunction · 0.85
ErrFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…