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

17 lines
386 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
from 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)
create_issue(config['owner'], config['repo'], config['token'], args.fep)
2023-07-16 07:43:02 +00:00