commit-wizard 0.0.2

A lightweight CLI assistant for Conventional Commits, semantic versioning, and changelog automation.
Documentation
1
2
3
4
5
6
7
use crate::engine::Result;
pub trait PromptTrait {
    fn text(&self, message: &str, default: Option<&str>, help: Option<&str>) -> Result<String>;
    fn confirm(&self, message: &str, default: bool) -> Result<bool>;
    fn select(&self, request: &scriba::prompt::SelectRequest) -> Result<String>;
    fn multiselect(&self, request: &scriba::prompt::MultiSelectRequest) -> Result<Vec<String>>;
}