Compare commits
2 Commits
e6ff781af2
...
7ddc8d299a
Author | SHA1 | Date |
---|---|---|
|
7ddc8d299a | 5 months ago |
|
e51005fb94 | 5 months ago |
3 changed files with 16 additions and 2 deletions
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
import click |
||||
import pyperclip |
||||
|
||||
MBP_ISSUE_BASE = "Safeguard/MBP-issues" |
||||
|
||||
|
||||
@click.command() |
||||
@click.argument("issue", type=int) |
||||
def sg_mbp_issue_ref(issue): |
||||
reference = f"{MBP_ISSUE_BASE}#{issue}" |
||||
pyperclip.copy(f"{MBP_ISSUE_BASE}#{issue}") |
||||
click.echo(reference) |
Loading…
Reference in new issue