kudobuilder / kudobuilder/kudo
CLI cmds should be consistent and more testable
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
**What would you like to be added**:
Newly add command for bundle on PR https://github.com/kudobuilder/kudo/pull/306 introduced new approach which other commands should adopt which includes:
* it is private function (reduce exposure to what is necessary)
* it makes an io.Writer (more testable)
**Why is this needed**:
* Better encapsulation
* Better Testing
* Consistency
Contributor guide
Research direction
Start by reviewing the bundle command approach introduced in PR 306, then identify the other CLI commands that expose command functions or do not accept an io.Writer. Compare their current structure with bundle and check the existing CLI tests; done means the commands consistently use private functions and injectable output without changing their behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100