kusion
kusion copied to clipboard
feat: add workspace edit cmd
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds the implementation of kusion workspace edit cmd.
Which issue(s) this PR fixes:
Fixes #867
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., design docs, usage docs, etc.:
Pull Request Test Coverage Report for Build 8166614260
Details
- 83 of 91 (91.21%) changed or added relevant lines in 3 files are covered.
- 7 unchanged lines in 2 files lost coverage.
- Overall coverage increased (+0.2%) to 73.441%
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
|---|---|---|---|
| pkg/cmd/workspace/edit/options.go | 53 | 61 | 86.89% |
| <!-- | Total: | 83 | 91 |
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| pkg/engine/operation/parser/parser.go | 3 | 75.61% |
| pkg/engine/operation/parser/spec_parser.go | 4 | 56.1% |
| <!-- | Total: | 7 |
| Totals | |
|---|---|
| Change from base Build 8153437294: | 0.2% |
| Covered Lines: | 6938 |
| Relevant Lines: | 9447 |
💛 - Coveralls
The implementation of this feature is temporarily deferred, so we are closing this PR.