Skip to content

Commit 95728fa

Browse files
committed
cli: add flow colors
1 parent d9861f7 commit 95728fa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/setup/states.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,12 @@ impl std::fmt::Display for FormattedFlowSetupStatusCheck<'_> {
389389
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
390390
let flow_ssc = self.1;
391391

392-
write!(f, "{} Flow: {}\n", ObjectSetupStatusCode(flow_ssc), self.0)?;
392+
write!(
393+
f,
394+
"{} {}\n",
395+
ObjectSetupStatusCode(flow_ssc).to_string().color(AnsiColors::Cyan),
396+
format!("Flow: {}", self.0).color(AnsiColors::White)
397+
)?;
393398

394399
let mut f = indented(f).with_str(INDENT);
395400
write!(f, "{}", flow_ssc.tracking_table)?;

0 commit comments

Comments
 (0)