aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter.rs7
-rw-r--r--crates/shirabe/src/console/html_output_formatter.rs4
2 files changed, 7 insertions, 4 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter.rs b/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter.rs
index 8b921d6..77ebde5 100644
--- a/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter.rs
+++ b/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter.rs
@@ -1,8 +1,13 @@
+use indexmap::IndexMap;
+
#[derive(Debug)]
pub struct OutputFormatter;
impl OutputFormatter {
- pub fn new(_decorated: bool) -> Self {
+ pub fn new(
+ _decorated: bool,
+ _styles: IndexMap<String, crate::symfony::console::formatter::OutputFormatterStyle>,
+ ) -> Self {
todo!()
}
diff --git a/crates/shirabe/src/console/html_output_formatter.rs b/crates/shirabe/src/console/html_output_formatter.rs
index 39294c8..a2158fa 100644
--- a/crates/shirabe/src/console/html_output_formatter.rs
+++ b/crates/shirabe/src/console/html_output_formatter.rs
@@ -42,10 +42,8 @@ impl HtmlOutputFormatter {
];
pub fn new(styles: IndexMap<String, OutputFormatterStyle>) -> Self {
- // TODO(phase-b): styles dropped until base OutputFormatter::new accepts a style map
- let _ = styles;
Self {
- inner: OutputFormatter::new(true),
+ inner: OutputFormatter::new(true, styles),
}
}