mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-09 11:45:02 -08:00
feat:create cli subpackage
This commit is contained in:
10
fastanime/cli/__init__.py
Normal file
10
fastanime/cli/__init__.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import click
|
||||
from rich import print
|
||||
from .commands import search, download, anilist
|
||||
|
||||
commands = {"search": search, "download": download, "anilist": anilist}
|
||||
|
||||
|
||||
@click.group(commands=commands)
|
||||
def run_cli():
|
||||
print("Yellow")
|
||||
Reference in New Issue
Block a user