apple_clis/xcrun/simctl/
list.rs

1use crate::prelude::*;
2
3use super::XcRunSimctlInstance;
4
5pub use output::*;
6mod output;
7
8impl<'src> XcRunSimctlInstance<'src> {
9	#[instrument(skip_all)]
10	pub fn list(&self) -> Result<ListOutput> {
11		ListOutput::from_bossy_result(self
12			.bossy_command()
13			.with_arg("list")
14			.with_arg("--json")
15			.run_and_wait_for_output())
16	}
17}