Some helper scripts for the day to day work with Ubuntu in WSL2
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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) |