feat: add --repo flag to issue and pull list commands #242
No reviewers
Labels
No labels
actions
bug
build
chore
CI
cleanup
CLI
contribution welcome
docs
duplicate
enhancement
feature
fix
good first issue
help wanted
invalid
perf
question
refactor
release
revert
style
test
tracking
UI
upstream
UX
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Aviac/codeberg-cli!242
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "timstoop/codeberg-cli:feature/repo-flag-issues-pulls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add optional --repo flag to
berg issue listandberg pull listcommands to allow querying repositories without being in a git
directory. The flag accepts OWNER/REPO format.
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
I personally would like this feature to help with implementing an MCP correctly, but there are other reasons you may want this as well:
Thanks for the contribution to both of you two! Just a tiny nit and we should be fine to merge this!
@ -41,3 +41,3 @@/// parses a string of format OWNER/REPOfn parse_owner_and_repo(owner_and_repo: &str) -> anyhow::Result<(String, String)> {pub(crate) fn parse_owner_and_repo(owner_and_repo: &str) -> anyhow::Result<(String, String)> {If you want to reuse this, please put it in a module own directory level above. So something like
src/actions/parsing.rs. Otherwise this just entangles the submodules needlessly.Done in the latest commit.