carvel-dev / carvel-dev/kapp-controller
Allow package repository release to be used non-interactively
- Dominant language
- Go
- Stars
- 323
- Forks
- 127
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 6
Description
**Describe the problem/challenge you have**
I would like to use `kctrl package repository release` in my CI system. It would be easier if this command was able to be used non-interactively.
**Describe the solution you'd like**
I'd like to be able to pass flags for the two pieces of information that gets prompted for:
1. Package Repository Name -> --name, -n
2. Registry URL -> --registry-url, -u
I'm not set on the above flags, feel free to change to anything that might work better.
---
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
Contributor guide
Research direction
Locate the implementation and tests for the `kctrl package repository release` command, then inspect how its two current prompts collect the package repository name and registry URL. Add non-interactive inputs for both values and verify that CI usage completes without prompts while existing interactive behavior remains covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100