commit-wizard 0.0.1

A lightweight CLI assistant for Conventional Commits, semantic versioning, and changelog automation.
Documentation
1
2
3
4
5
6
7
8
9
10
use anyhow::Result;

#[derive(Debug, Default, Clone, Copy)]
pub struct CommitOptions {
    pub allow_empty: bool,
}

pub trait GitPort {
    fn commit(&self, message: &str, opts: &CommitOptions) -> Result<()>;
}