azriel91 / peace

Zero Stress Automation
https://peace.mk
Apache License 2.0
110 stars 1 forks source link

Add icons, messages, elapsed time to CLI progress bars #103

Closed azriel91 closed 1 year ago

azriel91 commented 1 year ago

Closes #102.

Before:

progress_bar_before

After:

progress_bar_after

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 90.73% and project coverage change: +0.02 :tada:

Comparison is base (52c2575) 93.47% compared to head (6284159) 93.50%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #103 +/- ## ========================================== + Coverage 93.47% 93.50% +0.02% ========================================== Files 274 274 Lines 19957 20155 +198 ========================================== + Hits 18654 18845 +191 - Misses 1303 1310 +7 ``` | [Impacted Files](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh) | Coverage Δ | | |---|---|---| | [crate/core/src/progress/progress\_update.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvY29yZS9zcmMvcHJvZ3Jlc3MvcHJvZ3Jlc3NfdXBkYXRlLnJz) | `100.00% <ø> (ø)` | | | [crate/core/src/progress/progress\_update\_and\_id.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvY29yZS9zcmMvcHJvZ3Jlc3MvcHJvZ3Jlc3NfdXBkYXRlX2FuZF9pZC5ycw==) | `100.00% <ø> (ø)` | | | [item\_specs/tar\_x/src/tar\_x\_error.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-aXRlbV9zcGVjcy90YXJfeC9zcmMvdGFyX3hfZXJyb3IucnM=) | `0.00% <ø> (ø)` | | | [...tem\_specs/tar\_x/src/tar\_x\_state\_current\_fn\_spec.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-aXRlbV9zcGVjcy90YXJfeC9zcmMvdGFyX3hfc3RhdGVfY3VycmVudF9mbl9zcGVjLnJz) | `57.14% <15.78%> (-9.53%)` | :arrow_down: | | [...tem\_specs/tar\_x/src/tar\_x\_state\_desired\_fn\_spec.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-aXRlbV9zcGVjcy90YXJfeC9zcmMvdGFyX3hfc3RhdGVfZGVzaXJlZF9mbl9zcGVjLnJz) | `78.31% <66.66%> (-0.44%)` | :arrow_down: | | [crate/rt\_model\_native/src/output/cli\_output.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvcnRfbW9kZWxfbmF0aXZlL3NyYy9vdXRwdXQvY2xpX291dHB1dC5ycw==) | `84.90% <88.88%> (+3.52%)` | :arrow_up: | | [crate/rt/src/cmds/sub/apply\_cmd.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvcnQvc3JjL2NtZHMvc3ViL2FwcGx5X2NtZC5ycw==) | `81.02% <92.30%> (+0.89%)` | :arrow_up: | | [crate/core/src/progress/progress\_msg\_update.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvY29yZS9zcmMvcHJvZ3Jlc3MvcHJvZ3Jlc3NfbXNnX3VwZGF0ZS5ycw==) | `100.00% <100.00%> (ø)` | | | [crate/core/src/progress/progress\_sender.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvY29yZS9zcmMvcHJvZ3Jlc3MvcHJvZ3Jlc3Nfc2VuZGVyLnJz) | `100.00% <100.00%> (ø)` | | | [crate/core/src/progress/progress\_tracker.rs](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvY29yZS9zcmMvcHJvZ3Jlc3MvcHJvZ3Jlc3NfdHJhY2tlci5ycw==) | `100.00% <100.00%> (ø)` | | | ... and [5 more](https://codecov.io/gh/azriel91/peace/pull/103?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh) | | ... and [3 files with indirect coverage changes](https://codecov.io/gh/azriel91/peace/pull/103/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.