pub mod change;
pub mod init;
pub mod prepare;
pub mod release;
pub mod status;
use std::process::ExitCode;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Outcome {
Done,
NoChanges,
}
impl From<Outcome> for ExitCode {
fn from(outcome: Outcome) -> Self {
match outcome {
Outcome::Done => ExitCode::SUCCESS,
Outcome::NoChanges => ExitCode::from(2),
}
}
}