//! ref: composer/vendor/symfony/console/Style/StyleInterface.php use crate::helper::Cell; use crate::helper::Row; /// Output style helpers. pub trait StyleInterface { /// Formats an error result bar. fn error(&mut self, message: &[String]); /// Formats a table. fn table(&mut self, headers: Vec, rows: Vec); /// Asks for confirmation. fn confirm(&mut self, question: &str, default: bool) -> bool; /// Add newline(s). fn new_line(&mut self, count: i64); }