refactor: add root package for Cobra commands#825
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #825 +/- ##
=======================================
Coverage 67.79% 67.79%
=======================================
Files 22 22
Lines 860 860
=======================================
Hits 583 583
Misses 232 232
Partials 45 45
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
c8046ac to
ba73634
Compare
|
Looks like the ignore settings are not working, need to figure out why, reset to draft. |
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
|
|
Not sure why we'd hold this for that. |
If this PR is merged, there might be potential users who write go scripts based on |
It is OK as long as we change the module name before the next release. |
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
This PR
- Adds a root context so all subcommand execution can use.Removing this, will add changes in another PR to make review easier- Adds a new godoc runnable example for go scripting.Removing this from this PR since it causes coverage drop instantly. To fix the coverage drop, I will propose another change by utilizing instrumented build.Related to #824, resolves #807