cleanup
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import click
|
||||
|
||||
import gitlab_api_finder
|
||||
import gitlab_ci_job_finder
|
||||
|
||||
|
||||
@click.command()
|
||||
@@ -8,10 +8,9 @@ import gitlab_api_finder
|
||||
@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)
|
||||
def execute_gl_ci_finder(count, projectid, jobname):
|
||||
gitlab_ci_job_finder.find_jobs(count, projectid, jobname)
|
||||
|
||||
|
||||
# example usage: python glcifinder-cli.py --count 1000 --projectid 244 --jobname deploy-test
|
||||
if __name__ == '__main__':
|
||||
hello()
|
||||
execute_gl_ci_finder()
|
||||
|
||||
Reference in New Issue
Block a user