@@ -26,7 +26,8 @@ from .admin import admin, __run_processing, __run_parallel
@admin.group(help='Upload related commands')
@click.option('--user',help='Select uploads of user with given id',type=str)
@click.option('--staging',help='Select only uploads in staging',is_flag=True)
@click.option('--unpublished',help='Select only uploads in staging',is_flag=True)
@click.option('--published',help='Select only uploads that are publised',is_flag=True)
@click.option('--outdated',help='Select published uploads with older nomad version',is_flag=True)
@click.option('--code',multiple=True,type=str,help='Select only uploads with calcs of given codes')
@click.option('--query-mongo',is_flag=True,help='Select query mongo instead of elastic search.')
...
...
@@ -38,22 +39,25 @@ from .admin import admin, __run_processing, __run_parallel
@click.option('--processing-incomplete-calcs',is_flag=True,help='Select uploads where any calc has net yot been processed')
@click.option('--processing-incomplete',is_flag=True,help='Select uploads where the upload or any calc has not yet been processed')
@click.option('--processing-necessary',is_flag=True,help='Select uploads where the upload or any calc has either not been processed or processing has failed in the past')
@click.option('--unindexed',is_flag=True,help='Select uploads that have no calcs in the elastic search index.')