[Feature request] Return issue id after creation #163
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#163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Maybe I did not understand how, but when I create an issue with
bergI have no way of knowing the ID of the newly created issue. This would be very useful IMHO. Just writing the issue id or the issue URL to stdout sounds would be great.This should now be possible through the structured output, see #227
You can run
berg --output-mode json <action>to get json output on stdout. For your use case, you can just combine this withjqto access the desired fields.Thanks for the issue! Let me know if that is not satisfying enough yet. Closing this for now.