askr 0.1.7

Interactive CLI input tool with real-time validation and choice menus
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod default;
pub mod json;
pub mod raw;

pub use default::*;
pub use json::*;
pub use raw::*;

use crate::error::Result;
use crate::validation::ValidationSummary;

pub trait OutputFormatter {
    fn format(&self, summary: &ValidationSummary) -> Result<String>;
}