Skip to main content

status_icon

Function status_icon 

Source
pub fn status_icon(status: &SpecStatus) -> ColoredString
Expand description

Returns a colored status icon for the given spec status.

Icons:

  • Pending: ○ (white)
  • InProgress: ◐ (yellow)
  • Completed: ● (green)
  • Failed: ✗ (red)
  • NeedsAttention: ⚠ (yellow)
  • Ready: ◕ (cyan)
  • Blocked: ⊗ (red)
  • Cancelled: ✓ (dimmed)