update readme

This commit is contained in:
ksyasuda 2022-02-05 23:54:26 -08:00
parent 087fb9d355
commit 1268855077
2 changed files with 23 additions and 20 deletions

View File

@ -135,23 +135,25 @@ The above output was produced by searching: `isekai -`
## aniwrapper
```
aniwrapper [-cdhvqS] [-t <theme> or -T <config_path>] <query>
aniwrapper [-cdhpqvS] [-t <theme> or -T <config_path>] <query>
aniwrapper [-cvS] [-t <theme> or -T <config_path>] -f <path_to_directory>
aniwrapper -Q <query>
aniwrapper -C
aniwrapper <query> # Run in stream mode, searching for <query>
aniwrapper -d <query> # Run in download mode (best quality), searching for <query>
aniwrapper -q # Launch menu with quality selection
aniwrapper -v # Enable verbose logging
aniwrapper -C # Connect to history database
aniwrapper -S # Enable silent mode (suppress output to stdout) [cannot be used with -v]
aniwrapper -Q <query> # Query the history database
aniwrapper -t <aniwrapper (default)|dracula|doomone|fancy|flamingo|material|nord|onedark> # Choose rofi theme from presets
aniwrapper -T <path_to_config> # Specify custom rofi config
aniwrapper -f <starting_directory> # Specify starting directory for play_from_file mode, bypassing main menu
aniwrapper -c # Use ani-cli command-line mode (rofi disabled)
aniwrapper -d # Download anime in command-line mode
aniwrapper <query> # Run in stream mode, searching for <query>
aniwrapper -c # Use ani-cli command-line mode (rofi disabled)
aniwrapper -C # Connect to history database
aniwrapper -d # Download anime in command-line mode
aniwrapper -d <query> # Run in download mode (best quality), searching for <query>
aniwrapper -f <starting_directory> # Specify starting directory for play_from_file mode, bypassing main menu
aniwrapper -h # Show help menu
aniwrapper -p # Enable player selection menu
aniwrapper -q # Launch menu with quality selection
aniwrapper -Q <query> # Query the history database
aniwrapper -S # Enable silent mode (suppress output to stdout) [cannot be used with -v]
aniwrapper -t <theme> # Choose rofi theme from presets
aniwrapper -T <path_to_config> # Specify custom rofi config
aniwrapper -v # Enable verbose logging
```
See [aniwrapper menus](docs/aniwrapper-menus.md) for more information about the menus used in the following options

View File

@ -38,22 +38,23 @@ help_text() {
printf "%s\n" "$line"
done <<< "
Usage:
aniwrapper [-cdhvqS] [-t <theme> or -T <config_path>]
aniwrapper [-cdhpqvS] [-t <theme> or -T <config_path>]
aniwrapper [-cvS] [-t <theme> or -T <config_path>] -f <path_to_directory>
aniwrapper -Q <query>
aniwrapper -C
Options:
-h show this help text
-q enable quality selection
-c enable command-line mode (rofi disabled)
-d download episode in command-line mode
-C connect to history database
-d download episode in command-line mode
-f <path_to_directory> (no trailing slash) specify starting directory for play for file mode
-h show this help text
-p enable player selection menu
-q enable quality selection
-Q <query> query the history database
-v verbose output
-S silent mode (suppress output to stdout) [cannot be used with -v]
-t <aniwrapper (default)|dracula|doomone|fancy|flamingo|material|onedark> change rofi theme
-T <config_path> specify custom rofi theme
-f <path_to_directory> (no trailing slash) specify starting directory for play for file mode
-Q <query> query the history database
"
}