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
11
use crate::ports::editor::EditorPort;
use anyhow::Result;

#[derive(Default)]
pub struct NoopEditor;

impl EditorPort for NoopEditor {
    fn edit(&self, initial: &str) -> Result<String> {
        Ok(initial.to_string())
    }
}