File: _ani-cli

package info (click to toggle)
ani-cli 4.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 692 kB
  • sloc: sh: 473; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 1,254 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#compdef ani-cli

local -a arguments

arguments=(
	'(-c --continue)'{-c,--continue}'[Continue watching from history]'
	'(-d --download)'{-d,--download}'[Download the video instead of playing it]'
	'(-D --delete)'{-D,--delete}'[Delete the downloaded video]'
	'(-s --syncplay)'{-s,--syncplay}'[Use Syncplay to watch with friends]'
	'(-S --select-nth)'{-S,--select-nth}'[Select nth entry]'
	'(-q --quality)'{-q,--quality}'[Specify the video quality]'
	'(-v --vlc)'{-v,--vlc}'[Use VLC to play the video]'
	'(-V --version)'{-V,--version}'[Show the version of the script]'
	'(-h --help)'{-h,--help}'[Show help this help message]'
	'(-e --episode)'{-e,--episode}'[Specify the episode to watch]'
	'(-e --episode)'{-r,--range}'[Specify the range of episodes to watch]'
	'--dub[Dub the video]'
	'--rofi[Use rofi instead of fzf]'
	'--skip[Use ani-skip to skip the intro of the episode (mpv only)]'
	"--no-detach[ Don't detach the player (useful for in-terminal playback, mpv only)]"
	'(--no-detach)--exit-after-play[Exit after the video is played]'
	'--skip-title[Use given title as ani-skip query]'
	'(-N --nextep-countdown)'{-N,--nextep-countdown}'[Countdown to next episode]'
	'(-U --update)'{-U,--update}'[Update the script]'
)

_arguments -S "${arguments[@]}"