add method to filter relevant fields, unit test

This commit is contained in:
dechert
2023-06-15 15:26:25 +02:00
parent b74fd6695f
commit 25564357bb
4 changed files with 28 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ import gitlab_api_finder
@click.option("--count", default=1, help="Number of jobs to search.")
@click.option("--projectid", prompt="Id of Gitlab Project", help="Id of Gitlab Project.")
@click.option("--jobname", prompt="name of job to filter", help="Id of Gitlab Project.")
# TODO add option "to-file" for storing the resulting json on disk
def hello(count, projectid, jobname):
gitlab_api_finder.find_jobs(count, projectid, jobname)