fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a40b01975
master
1# Subcommands 2complete -f -n __fish_use_subcommand -c mariner -a complete -d"Print bash completion command" 3complete -f -n __fish_use_subcommand -c mariner -a config -d"Show or update configuration" 4complete -f -n __fish_use_subcommand -c mariner -a details -d"Show details about torrent with given ID" 5complete -f -n __fish_use_subcommand -c mariner -a download -d"Download torrent with given ID" 6complete -f -n __fish_use_subcommand -c mariner -a help -d"Print detailed help for another command" 7complete -f -n __fish_use_subcommand -c mariner -a magnet -d"Copy magnet link with given ID to clipboard" 8complete -f -n __fish_use_subcommand -c mariner -a open -d"Open torrent in the default torrent application" 9complete -f -n __fish_use_subcommand -c mariner -a search -d"Search for torrents" 10 11# Global options 12complete -f -n __fish_use_subcommand -c mariner -l version -d"Show program's version number and exit" 13complete -f -n __fish_use_subcommand -c mariner -s v -l verbose -d"Increase verbosity of output. Can be repeated" 14complete -f -n __fish_use_subcommand -c mariner -s q -l quiet -d"Suppress output except warnings and errors" 15complete -f -n __fish_use_subcommand -c mariner -s h -l help -d"Show help message and exit" 16complete -f -n __fish_use_subcommand -c mariner -l debug -d"Show tracebacks on errors" 17complete -r -n __fish_use_subcommand -c mariner -l log-file -d"Specify a file to log output. Default ~/.local/share/mariner/mariner.log" 18complete -r -n __fish_use_subcommand -c mariner -l config-file -d"Path to config file. Default ~/.config/mariner/config.yaml" 19 20# Config options 21complete -f -n"__fish_seen_subcommand_from config" -c mariner -s s -l show -d"Show the configuration" 22 23# Download options 24complete -r -n"__fish_seen_subcommand_from download" -c mariner -s p -l path -d"Path to download torrent files to" 25 26# Search options 27complete -f -n"__fish_seen_subcommand_from search" -c mariner -s a -l all -d"Search all available trackers" 28complete -f -n"__fish_seen_subcommand_from search" -c mariner -s A -l anime -d"Search trackers with anime content only" 29complete -f -n"__fish_seen_subcommand_from search" -c mariner -s f -l filter -a"anime legal" -d"Filter trackers that should be searched" 30complete -f -n"__fish_seen_subcommand_from search" -c mariner -s L -l legal -d"Search trackers with legal content only" 31complete -x -n"__fish_seen_subcommand_from search" -c mariner -s l -l limit -d"Limit the number of results shown. Default is 50" 32complete -f -n"__fish_seen_subcommand_from search" -c mariner -s n -l newest -d"Sort results by newest" 33complete -x -n"__fish_seen_subcommand_from search" -c mariner -s t -l trackers -d"Trackers that should be searched"