MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / sandbox_list_accepts_output_json

Function sandbox_list_accepts_output_json

crates/openshell-cli/src/main.rs:3896–3909  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3894
3895 #[test]
3896 fn sandbox_list_accepts_output_json() {
3897 let cli = Cli::try_parse_from(["openshell", "sandbox", "list", "-o", "json"])
3898 .expect("sandbox list -o json should parse");
3899
3900 assert!(matches!(
3901 cli.command,
3902 Some(Commands::Sandbox {
3903 command: Some(SandboxCommands::List {
3904 output: OutputFormat::Json,
3905 ..
3906 })
3907 })
3908 ));
3909 }
3910
3911 #[test]
3912 fn sandbox_list_accepts_output_yaml() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected