commando 1.1.0

An interactive CLI tool to help you write conventional commit messages with ease.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub struct CommitResult {
    pub sha: String,
    pub summary: String,
}

pub trait CommitExecutor {
    type Error;

    fn execute(&self, message: &str) -> Result<CommitResult, Self::Error>;
}

pub trait DryRunner {
    type Error;

    fn dry_run(&self, message: &str) -> Result<(), Self::Error>;
}