Commit fc3e7665 authored by Kirill Unitsaev's avatar Kirill Unitsaev

status: add OpStatus for operations

parent d36c85ad
...@@ -83,3 +83,33 @@ var ProfileStatus = struct { ...@@ -83,3 +83,33 @@ var ProfileStatus = struct {
Label: "unavailable", Label: "unavailable",
}, },
} }
var OpStatus = struct {
Unknown ItemStatus
Done ItemStatus
Skipped ItemStatus
DryRun ItemStatus
Error ItemStatus
}{
Unknown: unknown,
Done: ItemStatus{
Symbol: "✓",
Color: color.GreenString,
Label: "done",
},
Skipped: ItemStatus{
Symbol: "○",
Color: color.YellowString,
Label: "skipped",
},
DryRun: ItemStatus{
Symbol: "◌",
Color: color.CyanString,
Label: "dry-run",
},
Error: ItemStatus{
Symbol: "✗",
Color: color.RedString,
Label: "error",
},
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment