Holger Frey
1 week ago
2 changed files with 13 additions and 0 deletions
@ -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