azriel91 / peace

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

Consolidate command logic for composability and single set of progress bar rendering. #130

Closed azriel91 closed 1 year ago

azriel91 commented 1 year ago

Closes #120.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 79.08% and project coverage change: -0.12 :warning:

Comparison is base (85cb088) 90.83% compared to head (1262889) 90.72%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #130 +/- ## ========================================== - Coverage 90.83% 90.72% -0.12% ========================================== Files 334 337 +3 Lines 30403 30735 +332 ========================================== + Hits 27618 27883 +265 - Misses 2785 2852 +67 ``` | [Impacted Files](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh) | Coverage Δ | | |---|---|---| | [crate/rt/src/cmds/clean\_cmd.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvcnQvc3JjL2NtZHMvY2xlYW5fY21kLnJz) | `50.00% <0.00%> (-50.00%)` | :arrow_down: | | [...e/rt/src/cmds/cmd\_ctx\_internal/cmd\_independence.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvcnQvc3JjL2NtZHMvY21kX2N0eF9pbnRlcm5hbC9jbWRfaW5kZXBlbmRlbmNlLnJz) | `0.00% <0.00%> (ø)` | | | [crate/rt/src/cmds/ensure\_cmd.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvcnQvc3JjL2NtZHMvZW5zdXJlX2NtZC5ycw==) | `50.00% <0.00%> (-50.00%)` | :arrow_down: | | [crate/rt\_model\_core/src/cmd\_progress\_tracker.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvcnRfbW9kZWxfY29yZS9zcmMvY21kX3Byb2dyZXNzX3RyYWNrZXIucnM=) | `81.81% <ø> (+5.95%)` | :arrow_up: | | [crate/rt\_model\_native/src/output/cli\_output.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-Y3JhdGUvcnRfbW9kZWxfbmF0aXZlL3NyYy9vdXRwdXQvY2xpX291dHB1dC5ycw==) | `82.45% <ø> (+1.55%)` | :arrow_up: | | [workspace\_tests/src/items/sh\_cmd\_item.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-d29ya3NwYWNlX3Rlc3RzL3NyYy9pdGVtcy9zaF9jbWRfaXRlbS5ycw==) | `96.68% <ø> (ø)` | | | [workspace\_tests/src/items/tar\_x\_item.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-d29ya3NwYWNlX3Rlc3RzL3NyYy9pdGVtcy90YXJfeF9pdGVtLnJz) | `99.50% <ø> (ø)` | | | [workspace\_tests/src/rt/cmds/clean\_cmd.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-d29ya3NwYWNlX3Rlc3RzL3NyYy9ydC9jbWRzL2NsZWFuX2NtZC5ycw==) | `99.41% <ø> (ø)` | | | [workspace\_tests/src/rt/cmds/ensure\_cmd.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-d29ya3NwYWNlX3Rlc3RzL3NyYy9ydC9jbWRzL2Vuc3VyZV9jbWQucnM=) | `99.36% <ø> (ø)` | | | [...e\_tests/src/rt/cmds/sub/states\_desired\_read\_cmd.rs](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh#diff-d29ya3NwYWNlX3Rlc3RzL3NyYy9ydC9jbWRzL3N1Yi9zdGF0ZXNfZGVzaXJlZF9yZWFkX2NtZC5ycw==) | `98.66% <ø> (ø)` | | | ... and [10 more](https://app.codecov.io/gh/azriel91/peace/pull/130?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azriel+Hoh) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/azriel91/peace/pull/130/indirect-changes?src=pr&el=tree-more&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.