aboutsummaryrefslogtreecommitdiffstats
path: root/firefly_cli/commands/tag.py
blob: beed56cf4bb5dfb3bc2566f9797605038582e7dc (plain)
1
2
3
4
5
6
7
8
# Copyright (C) 2026 Danilo M. <danix@danix.xyz>  GPL-2.0-only
from firefly_cli import registry, output

@registry.command("tag list", help="list all tags known to Firefly")
def cmd_list(args, ctx):
    resp = ctx.client.request("GET", "/api/v1/tags")
    output.emit(output.unwrap(resp), human=ctx.human)
    return 0