api/clan: rename 'show_clan_meta' -> 'get_clan_details'

This commit is contained in:
Johannes Kirschbauer
2025-07-07 09:47:27 +02:00
parent 045e297438
commit 1c33f30135
12 changed files with 98 additions and 92 deletions

View File

@@ -1,14 +1,14 @@
import argparse
import logging
from clan_lib.clan.get import show_clan_meta
from clan_lib.clan.get import get_clan_details
log = logging.getLogger(__name__)
def show_command(args: argparse.Namespace) -> None:
flake_path = args.flake.path
meta = show_clan_meta(flake_path)
meta = get_clan_details(flake_path)
print(f"Name: {meta.get('name')}")
print(f"Description: {meta.get('description', '-')}")