tsuru / tsuru-client

tsuru-client is a tsuru command line tool for application developers.
https://docs.tsuru.io/stable/
BSD 3-Clause "New" or "Revised" License
95 stars 77 forks source link

Normalize experience to list resources #194

Closed wpjunior closed 1 year ago

wpjunior commented 1 year ago

the major resources in tsuru client have a different experience in flags and features, create a standard is a way to improve usage and get inspired by other CLIs like kubectl.

codecov-commenter commented 1 year ago

Codecov Report

Base: 73.64% // Head: 71.98% // Decreases project coverage by -1.65% :warning:

Coverage data is based on head (c69c39d) compared to base (bf76e5f). Patch coverage: 36.19% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #194 +/- ## ========================================== - Coverage 73.64% 71.98% -1.66% ========================================== Files 46 47 +1 Lines 8642 8985 +343 ========================================== + Hits 6364 6468 +104 - Misses 1379 1576 +197 - Partials 899 941 +42 ``` | [Impacted Files](https://codecov.io/gh/tsuru/tsuru-client/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru) | Coverage Δ | | |---|---|---| | [tsuru/client/auth.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvY2xpZW50L2F1dGguZ28=) | `74.54% <0.00%> (ø)` | | | [tsuru/client/plugin.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvY2xpZW50L3BsdWdpbi5nbw==) | `61.53% <0.00%> (-0.51%)` | :arrow_down: | | [tsuru/formatter/json.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvZm9ybWF0dGVyL2pzb24uZ28=) | `0.00% <0.00%> (ø)` | | | [tsuru/client/event.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvY2xpZW50L2V2ZW50Lmdv) | `71.69% <2.63%> (-11.57%)` | :arrow_down: | | [tsuru/client/certificate.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvY2xpZW50L2NlcnRpZmljYXRlLmdv) | `61.34% <14.70%> (-10.51%)` | :arrow_down: | | [tsuru/client/env.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvY2xpZW50L2Vudi5nbw==) | `59.05% <18.18%> (-8.57%)` | :arrow_down: | | [tsuru/client/apps.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvY2xpZW50L2FwcHMuZ28=) | `77.62% <33.33%> (-0.26%)` | :arrow_down: | | [tsuru/client/router.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvY2xpZW50L3JvdXRlci5nbw==) | `48.50% <36.66%> (-1.17%)` | :arrow_down: | | [tsuru/client/pool.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvY2xpZW50L3Bvb2wuZ28=) | `62.82% <38.23%> (-19.41%)` | :arrow_down: | | [tsuru/client/volume.go](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru#diff-dHN1cnUvY2xpZW50L3ZvbHVtZS5nbw==) | `71.19% <39.13%> (-4.66%)` | :arrow_down: | | ... and [8 more](https://codecov.io/gh/tsuru/tsuru-client/pull/194/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tsuru) | | 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=tsuru). 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=tsuru)

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