feat:switch to poetry as build tool and package manager

This commit is contained in:
Benex254
2024-06-23 17:46:01 +03:00
parent 4a2c981dff
commit 4b5ff6348e
22 changed files with 2011 additions and 54 deletions

View File

@@ -0,0 +1,25 @@
import rich
from ..utils.fzf import fzf
from . import (
info_interface,
stream_interface,
binge_interface,
download_interface,
watchlist_interface,
bye,
)
options = {
"info": info_interface,
"stream": stream_interface,
"binge": binge_interface,
"download": download_interface,
"watchlist": watchlist_interface,
"quit": bye,
}
def anime_interface(anime):
command = fzf(options.keys())
if command:
options[command](anime, options)