diff options
Diffstat (limited to 'cli/app/commands/biggan/fetch.py')
| -rw-r--r-- | cli/app/commands/biggan/fetch.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cli/app/commands/biggan/fetch.py b/cli/app/commands/biggan/fetch.py new file mode 100644 index 0000000..94117c9 --- /dev/null +++ b/cli/app/commands/biggan/fetch.py @@ -0,0 +1,13 @@ +import click + +from app.utils.cortex_utils import fetch_cortex_folder + +@click.command('') +@click.option('-i', '--folder_id', 'opt_folder_id', type=int, + help='Folder ID to fetch') +@click.pass_context +def cli(ctx, opt_folder_id): + """ + Fetch JSON from the server + """ + fetch_cortex_folder(opt_folder_id) |
