-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated, corrected, and added the rest of the completions needed for `ani-cli`
- Loading branch information
1 parent
743ccc0
commit c05790d
Showing
1 changed file
with
44 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,51 @@ | ||
# authour: DWTW | ||
# author: HirschBerge | ||
# inspired by DWTW | ||
|
||
def videoQuality [] { | ||
[ "best", "worst", "360", "480", "720", "1080" ] | ||
[ "worst", "360p", "480p", "720p", "1080p", "4K", "best" ] | ||
} | ||
def common_episodes [] { | ||
[ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ] | ||
} | ||
def common_ranges [] { | ||
[ "1-5", "5-10", "1-13", "14-26", "1-26" ] | ||
} | ||
|
||
# Collaborative cheatsheets for console commands | ||
# Anime Search and Streaming Tool | ||
export extern "ani-cli" [ | ||
string? | ||
-q: string@videoQuality # Set video quality | ||
-s # Watch using Syncplay | ||
-f # Use FZF for selection | ||
-a # Specify episode | ||
-d # Download episode | ||
-p # Download episode to specified directory | ||
-c # Continue watching anime from history | ||
-h # Show help text | ||
-D # Delete history | ||
-U # Fetch update from github | ||
-V # Print version number | ||
-r # Select provider | ||
-x # Print all video links | ||
-q: int@videoQuality # Specify video quality | ||
--quality: int@videoQuality # Specify video quality | ||
-s # Use Syncplay to watch with friends | ||
--syncplay # Use Syncplay to watch with friends | ||
-f # Use FZF for selection | ||
--fzf # Use FZF for selection | ||
-e: string@common_episodes # Specify episode number | ||
--episode: string@common_episodes # Specify episode number | ||
-d # Download the episode instead of playing it | ||
--download # Download the episode instead of playing it | ||
-p # Download episode to a specified directory | ||
--path: string # Download episode to a specified directory | ||
-c # Continue watching from history | ||
--continue # Continue watching from history | ||
-h # Show help text | ||
--help # Show help text | ||
-D # Delete history | ||
--delete # Delete history | ||
-l # Show logs | ||
--log-view # Show logs | ||
-U # Update the script | ||
--update # Update the script | ||
-V # Show the version of the script | ||
--version # Show the version of the script | ||
-r: string@common_ranges # Specify range number | ||
--range: string@common_ranges # Specify range number | ||
--skip # Use ani-skip to skip intros (mpv only) | ||
--dub # Play dubbed version | ||
--rofi # Use rofi instead of fzf for menu | ||
--no-detach # Don't detach the player (mpv only) | ||
--exit-after-play # Exit after playing (mpv only) | ||
--skip-title: string # Use the given title for ani-skip query | ||
-N # Display a countdown to the next episode | ||
--nextep-countdown # Display a countdown to the next episode | ||
] |