apple-clis 0.0.15

A collection of Apple command-line tool wrappers, library and CLI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::CodesignCLIInstance;
use crate::prelude::*;

pub use self::output::*;
mod output;

impl CodesignCLIInstance {
	#[instrument(skip_all, ret)]
	pub fn display(&self, path: impl AsRef<Utf8Path>) -> Result<DisplayOutput> {
		DisplayOutput::from_bossy_result(
			self
				.bossy_command()
				.with_arg("-d")
				.with_arg(path.as_ref())
				.run_and_wait_for_output(),
		)
	}
}