You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fetch command retrieves the title of a forge issue or pull request and adds it as a new change entry in the Unreleased section of a changelog file. The id can be provided either as a full URL or as a short ref (e.g. #1); in the latter case, the forge URL is inferred from the existing compare link in the changelog.
Usage examples
CLI
# Fetch an issue by full URL and add it as an "Added" change
$ heylogs fetch -y added -i https://github.com/nbbrd/heylogs/issues/1
# Fetch a pull request by full URL and add it as a "Fixed" change
$ heylogs fetch -y fixed -i https://github.com/nbbrd/heylogs/pull/42
# Fetch an issue by short ref (forge inferred from the changelog compare link)
$ heylogs fetch CHANGELOG.md -y added -i "#1"