pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.92k stars 544 forks source link

Non-interactive usage through flags #389

Closed 4cecoder closed 2 years ago

4cecoder commented 2 years ago

if you know the choice/anime_id and episode: ani-cli boruto -a 3 -e 2

searches for boruto looks for (english sub) and chooses episode 2 if exists then plays into mpv

NO prompt asking to select episode! Goes right to playing!

port19x commented 2 years ago

Excuse the title edit, but this is way too long

port19x commented 2 years ago

I'm generally against supporting non-interactive usage.

I'd like to know pystardusts opinion on this

71zenith commented 2 years ago

I also would agree on this. The only thing I would have allowed is the passing of arguments to the player. Since it is tedious to set them through keybindings after the player is opened.

pystardust commented 2 years ago

I think it would be great to have minimal non interactive usage like this. (Unless it gets complicated it) Here we just auto select and die if the options don't exist