use crate::runner::report::execution::ExecutionReport;
pub enum CommandOutput {
Plan(Vec<(usize, usize)>),
Execution(ExecutionReport),
}
impl CommandOutput {
pub fn is_success(&self) -> bool {
match self {
Self::Plan(_) => true,
Self::Execution(report) => report.is_success(),
}
}
}