set -l commands search find id browse love hate complete -c bass -f complete -c bass -n "not __fish_seen_subcommand_from $commands" -a search -d 'Search with a filter expression' complete -c bass -n "not __fish_seen_subcommand_from $commands" -a find -d 'Exact search with a filter expression' complete -c bass -n "not __fish_seen_subcommand_from $commands" -a id -d 'Print MusicBrainz ID of the currently playing track' complete -c bass -n "__fish_seen_subcommand_from id" -s a -l album -d 'Show ID of the album instead' complete -c bass -n "not __fish_seen_subcommand_from $commands" -a browse -d 'Open the currently playing track on MusicBrainz' complete -c bass -n "__fish_seen_subcommand_from browse" -s a -l album -d 'Open the album instead' complete -c bass -n "__fish_seen_subcommand_from browse" -s o -l open -d 'Open the file in the file manager instead' complete -c bass -n "not __fish_seen_subcommand_from $commands" -a love -d 'Mark the currently playing track as loved on ListenBrainz' complete -c bass -n "not __fish_seen_subcommand_from $commands" -a hate -d 'Mark the currently playing track as hated on ListenBrainz'