Commit Graph

2 Commits

Author SHA1 Message Date
Sebastian Schulze d7122a4a5c
[bin] Rework get-gitlab-shortcode-as-markdown in plain bash 2022-07-06 20:18:05 +02:00
Sebastian Schulze 789ea78031
[bin] Add helpers to copy a GitLab shortcode derived from an URL
About 10 times a day I want to copy a GitLab reference (e.g.
group/project#issue) to my clipboard. This helper makes it easier to
derive the shortcode from an GitLab URL and it works for merge_requests
as well as issues or epics.

The second helper will transform the shortcode into a Markdown link, so
it can easily pasted into emails or Mattermost.
2022-05-10 10:42:13 +02:00