10
310
Fork
You've already forked codeberg-cli
33

[Feature request] Return issue id after creation #163

Closed
opened 2025年01月09日 09:48:38 +01:00 by nicoco · 1 comment

Maybe I did not understand how, but when I create an issue with berg I 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.

Maybe I did not understand how, but when I create an issue with `berg` I 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.
Owner
Copy link

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 with jq to access the desired fields.

Thanks for the issue! Let me know if that is not satisfying enough yet. Closing this for now.

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 with `jq` to access the desired fields. Thanks for the issue! Let me know if that is not satisfying enough yet. Closing this for now.
Sign in to join this conversation.
No Branch/Tag specified
main
v0.5.1
v0.5.0
v0.4.11
v0.4.10
v0.4.9
v0.4.8
v0.4.7
v0.4.6
v0.4.5
v0.4.4
v0.4.3
v0.4.1
v0.4.2
v0.4.0
v0.3.5
v0.3.4
v0.3.2
v0.3.1
v0.3.0
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Aviac/codeberg-cli#163
Reference in a new issue
Aviac/codeberg-cli
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?