1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-05 11:46:04 +00:00
Files
fep/scripts/create_issue.py
T

16 lines
389 B
Python
Raw Normal View History

2024-11-15 11:22:01 +00:00
#!/usr/bin/env python
2023-07-16 07:43:02 +00:00
from argparse import ArgumentParser
2025-11-01 08:40:20 +01:00
from fep_tools.issue import create_issue
2023-07-16 07:43:02 +00:00
import json
2023-09-21 09:56:02 +02:00
2023-07-16 07:43:02 +00:00
parser = ArgumentParser("Create tracking issue for FEP")
parser.add_argument("fep", help="slug of the FEP")
args = parser.parse_args()
with open("scripts/config.json") as f:
config = json.load(f)
2025-11-01 08:40:20 +01:00
create_issue(config["owner"], config["repo"], config["token"], args.fep)