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

Method run_dev_command

crates/cli/src/spacetime_config.rs:39–46  ·  view source on GitHub ↗

Get the command to run a dev script

(&self)

Source from the content-addressed store, hash-verified

37impl PackageManager {
38 /// Get the command to run a dev script
39 pub fn run_dev_command(&self) -> &'static str {
40 match self {
41 PackageManager::Npm => "npm run dev",
42 PackageManager::Pnpm => "pnpm run dev",
43 PackageManager::Yarn => "yarn dev",
44 PackageManager::Bun => "bun run dev",
45 }
46 }
47}
48
49/// Errors that can occur when building or using CommandConfig

Callers 2

for_client_langMethod · 0.80
detect_client_commandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected