Commit Graph

4 Commits

Author SHA1 Message Date
Sebastian Schulze 345fc88bcf
[bin] Fix GitLab shortcode RegEx to include the optional /-/ 2022-08-03 22:48:41 +02:00
Sebastian Schulze 46d11ecac7
[bin] Use clipboard if no parameter is given to gitlab-shortcutter 2022-07-12 21:05:00 +02:00
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