apple_codesign::cli

Trait CliCommand

Source
pub trait CliCommand {
    // Required method
    fn run(&self, context: &Context) -> Result<(), AppleCodesignError>;

    // Provided method
    fn as_config(&self) -> Result<Option<Config>, AppleCodesignError> { ... }
}

Required Methods§

Source

fn run(&self, context: &Context) -> Result<(), AppleCodesignError>

Runs the command.

Provided Methods§

Source

fn as_config(&self) -> Result<Option<Config>, AppleCodesignError>

Obtain the current command arguments normalized to a Config instance.

Implementors§