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)