mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-12 15:50:01 -08:00
13 lines
316 B
Python
13 lines
316 B
Python
import click
|
|
|
|
from ....libs.anilist.anilist import AniList
|
|
from .utils import get_search_result
|
|
|
|
|
|
@click.command()
|
|
@click.option("--title", prompt="Enter anime title")
|
|
def search(title):
|
|
success, search_results = AniList.search(title)
|
|
if search_results and success:
|
|
get_search_result(search_results)
|