Skip to content

Commit

Permalink
added Carapace completion file
Browse files Browse the repository at this point in the history
  • Loading branch information
HirschBerge committed Oct 9, 2024
1 parent 5daa876 commit d083139
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions ani-cli.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# yaml-language-server: $schema=https://carapace.sh/schemas/command.json
name: ani-cli
flags:
-c: Continue watching from history
-d, --download: Download the video instead of playing it
-D, --delete: Delete history
-l, --logview: Show logs
-s, --syncplay: Use Syncplay to watch with friends
-S, --select-nth: Select nth entry
-q, --quality=: Specify the video quality
-v, --vlc: Use VLC to play the video
-V, --version: Show the version of the script
-e, --episode=: Specify the episode to watch
-r, --range=: Specify the range of episodes to watch
--dub: Play dubbed version
--rofi: Use rofi instead of fzf for the interactive menu
--skip: Use ani-skip to skip the intro of the episode (mpv only)
--no-detach: Don't detach the player (mpv only)
--exit-after-play: Exit the player, and return the player exit code (mpv only)
--skip-title=: Use given title as ani-skip query
-N, --nextep-countdown: Display a countdown to the next episode
-U, --update: Update the script
persistentflags:
-h, --help: Show this help message and exit
completion:
flag:
quality: ["480p", "720p", "1080p", "4K"] # Add supported qualities
episode: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13"] # Example episode numbers or ranges
range: [ "1-13","1-26","1-3", "2-4", "3-4", "5-6"] # Example ranges

0 comments on commit d083139

Please sign in to comment.