Fix showing only error messages.

main
KKlochko 2 years ago
parent 7f8c776eb3
commit 62743cc3b2

@ -48,9 +48,11 @@ def tags(
"""
if namespace is None:
console.print(f"[red b][ERROR] Please, give the namespace name!!![/]")
return
if namespace is None:
console.print(f"[red b][ERROR] Please, give the repository name!!![/]")
return
headers_config = HeadersConfig()
fetcher = ApiFetcher(headers_config)

@ -42,6 +42,7 @@ def all(
"""
if namespace is None:
console.print(f"[red b][ERROR] Please, give the namespace name!!![/]")
return
headers_config = HeadersConfig()
fetcher = ApiFetcher(headers_config)

Loading…
Cancel
Save