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

Function test_cli_skip_flags_exist

crates/cli/src/subcommands/dev.rs:1947–1957  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1945
1946 #[test]
1947 fn test_cli_skip_flags_exist() {
1948 // Verify that --skip-publish and --skip-generate flags are registered
1949 let cmd = cli();
1950
1951 let matches = cmd
1952 .clone()
1953 .get_matches_from(vec!["dev", "--skip-publish", "--skip-generate"]);
1954
1955 assert!(matches.get_flag("skip_publish"));
1956 assert!(matches.get_flag("skip_generate"));
1957 }
1958
1959 #[test]
1960 fn test_cli_env_flag_accepts_value() {

Callers

nothing calls this directly

Calls 2

cliFunction · 0.70
cloneMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…