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

Function exec_init_rust

crates/cli/src/subcommands/init.rs:1902–1912  ·  view source on GitHub ↗
(args: &ArgMatches)

Source from the content-addressed store, hash-verified

1900}
1901
1902pub async fn exec_init_rust(args: &ArgMatches) -> anyhow::Result<()> {
1903 let project_path = args.get_one::<PathBuf>("project-path").unwrap();
1904 init_rust_project(project_path)?;
1905
1906 println!(
1907 "{}",
1908 format!("Project successfully created at path: {}", project_path.display()).green()
1909 );
1910
1911 Ok(())
1912}
1913
1914pub async fn exec_init_csharp(args: &ArgMatches) -> anyhow::Result<()> {
1915 let project_path = args.get_one::<PathBuf>("project-path").unwrap();

Callers

nothing calls this directly

Calls 3

init_rust_projectFunction · 0.85
OkFunction · 0.50
unwrapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…