api/clan: rename 'show_clan_meta' -> 'get_clan_details'
This commit is contained in:
@@ -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', '-')}")
|
||||
|
||||
Reference in New Issue
Block a user