def ksu_list(ctx, filter, output):
"""list all Kubernetes SW Units (KSU)"""
logger.debug("")
- common.generic_list(callback=ctx.obj.ksu.list, filter=filter)
+ common.generic_list(callback=ctx.obj.ksu.list, filter=filter, format=output)
@click.command(name="ksu-show", short_help="shows the details of a KSU")
NAME: name or ID of the KSU
"""
logger.debug("")
- common.generic_show(callback=ctx.obj.ksu.get, name=name)
+ common.generic_show(callback=ctx.obj.ksu.get, name=name, format=output)
@click.command(
def oka_list(ctx, filter, output):
"""list all OSM Kubernetes Application (OKA)"""
logger.debug("")
- common.generic_list(callback=ctx.obj.oka.list, filter=filter)
+ common.generic_list(callback=ctx.obj.oka.list, filter=filter, format=output)
@click.command(
NAME: name or ID of the OKA
"""
logger.debug("")
- common.generic_show(callback=ctx.obj.oka.get, name=name)
+ common.generic_show(callback=ctx.obj.oka.get, name=name, format=output)
@click.command(