Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2530 +/- ##
==========================================
- Coverage 73.62% 73.52% -0.11%
==========================================
Files 136 136
Lines 16774 16662 -112
==========================================
- Hits 12350 12250 -100
+ Misses 3555 3542 -13
- Partials 869 870 +1 ☔ View full report in Codecov by Sentry. |
10311ae to
a58aae7
Compare
|
From my understanding, this PR seems to be "cleaner" in the sense of eliminating repetitive flag name/usage string declarations. However, the generic usage seems to complicate things further. I would suggest the following registry and group pattern instead: To complete this is much more work, but grouping flags keep it organized and we can expand our CLI tools easily. |
|
Closing because using global vars doesn't seem the right approach to me just for the CLI. They take runtime memory |
This pull request includes several changes to the
cmd/junopackage, primarily focused on refactoring the code to use a newsettingstruct for flag and default value management.