aboutsummaryrefslogtreecommitdiff
path: root/rss_to_gitea/main.py
blob: 93c16def19dfb7e70668da4380ae753eba938b24 (plain)
1
2
3
4
5
6
7
8
import xml
import sys
from .gitea import GiteaAPI

def main():
    token = sys.argv[1]
    api = GiteaAPI("https://gitea.my.cum.re", token)
    api.searchIssue('infra', 'ansible', '', 'update')