Esempio n. 1
0
def request_list():
    """Lists the currently running requests."""
    requests = api.request_list()

    if requests:
        utils.cli_print_table(requests, "request")
    else:
        click.echo("No requests found.")
Esempio n. 2
0
def request_list():
    """Lists the currently running requests."""
    requests = api.request_list()

    if requests:
        utils.cli_print_table(requests, 'request')
    else:
        click.echo('No requests found.')
Esempio n. 3
0
def images(filter_term, refresh):
    """Lists all of the images available in VCL."""
    to_print = api.images(filter_term=filter_term, refresh=refresh)
    utils.cli_print_table(to_print, "image")
Esempio n. 4
0
def images(filter_term, refresh):
    """Lists all of the images available in VCL."""
    to_print = api.images(filter_term=filter_term, refresh=refresh)
    utils.cli_print_table(to_print, 'image')