|
|
|
@ -48,6 +48,11 @@ def tags(
|
|
|
|
|
help="[b]The tags[/] will be filtered.",
|
|
|
|
|
show_default=False
|
|
|
|
|
),
|
|
|
|
|
full_name: bool = typer.Option(
|
|
|
|
|
None, "--full-name", "-fn",
|
|
|
|
|
help="[b]The tags[/] will be shown with their [b]namespace and repository[/].",
|
|
|
|
|
show_default=False
|
|
|
|
|
),
|
|
|
|
|
):
|
|
|
|
|
"""
|
|
|
|
|
[green b]All tags[/] will be returned for the [yellow b]namespace[/].
|
|
|
|
@ -74,6 +79,10 @@ def tags(
|
|
|
|
|
tags_filter = TagsFilter()
|
|
|
|
|
tags = tags_filter.filter_list(tags)
|
|
|
|
|
|
|
|
|
|
prefix = ''
|
|
|
|
|
if full_name:
|
|
|
|
|
prefix = f'{namespace}/{repository}:'
|
|
|
|
|
|
|
|
|
|
for tag in tags:
|
|
|
|
|
console.print(tag)
|
|
|
|
|
console.print(f'{prefix}{tag}')
|
|
|
|
|
|
|
|
|
|