# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
function __fish_mullvad_global_optspecs
	string join \n h/help V/version
end

function __fish_mullvad_needs_command
	# Figure out if the current invocation already has a command.
	set -l cmd (commandline -opc)
	set -e cmd[1]
	argparse -s (__fish_mullvad_global_optspecs) -- $cmd 2>/dev/null
	or return
	if set -q argv[1]
		# Also print the command, so this can be used to figure out what it is.
		echo $argv[1]
		return 1
	end
	return 0
end

function __fish_mullvad_using_subcommand
	set -l cmd (__fish_mullvad_needs_command)
	test -z "$cmd"
	and return 1
	contains -- $cmd[1] $argv
end

complete -c mullvad -n "__fish_mullvad_needs_command" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_needs_command" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "account" -d 'Control and display information about your Mullvad account'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "auto-connect" -d 'Control the daemon auto-connect setting'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "beta-program" -d 'Receive notifications about beta updates'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "lockdown-mode" -d 'Control whether to block network access when disconnected from VPN'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "debug" -d 'Debug commands used for internal testing of the app'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "dns" -d 'Configure DNS servers to use when connected'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "lan" -d 'Control the allow local network sharing setting'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "connect" -d 'Connect to a VPN relay'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "disconnect" -d 'Disconnect from the VPN'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "reconnect" -d 'Reconnect to any matching VPN relay'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "relay" -d 'Manage relay and tunnel constraints'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "api-access" -d 'Manage Mullvad API access methods'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "anti-censorship" -d 'Manage use of anti censorship methods for WireGuard. Can make WireGuard traffic look like something else on the network. Helps circumvent censorship and to establish a tunnel when on restricted networks'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "split-tunnel" -d 'Manage split tunneling. To launch applications outside the tunnel, use the program \'mullvad-exclude\' instead of this command'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "status" -d 'Return the state of the VPN tunnel'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "tunnel" -d 'Manage tunnel options'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "version" -d 'Show information about the current Mullvad version and available versions'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "shell-completions" -d 'Generate completion scripts for the specified shell'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "factory-reset" -d 'Reset settings, caches, and logs'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "reset-settings" -d 'Reset settings only, but remain logged in and keep logs and caches'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "custom-list" -d 'Manage custom lists'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "import-settings" -d 'Apply a JSON patch generated by \'export-settings\''
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "export-settings" -d 'Export a JSON patch based on the current settings'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "log" -d 'Manage logs and tracing'
complete -c mullvad -n "__fish_mullvad_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -f -a "create" -d 'Create and log in on a new account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -f -a "login" -d 'Log in on an account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -f -a "logout" -d 'Log out of the current account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -f -a "get" -d 'Display information about the current account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -f -a "list-devices" -d 'List devices associated with an account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -f -a "revoke-device" -d 'Revoke a device associated with an account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -f -a "redeem" -d 'Redeem a voucher'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and not __fish_seen_subcommand_from create login logout get list-devices revoke-device redeem help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from create" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from create" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from login" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from login" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from logout" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from logout" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from get" -s v -l verbose -d 'Enable verbose output'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from list-devices" -s a -l account -d 'Mullvad account number (current account if not specified)' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from list-devices" -s v -l verbose -d 'Enable verbose output'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from list-devices" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from list-devices" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from revoke-device" -s a -l account -d 'Mullvad account number (current account if not specified)' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from revoke-device" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from revoke-device" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from redeem" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from redeem" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from help" -f -a "create" -d 'Create and log in on a new account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from help" -f -a "login" -d 'Log in on an account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from help" -f -a "logout" -d 'Log out of the current account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from help" -f -a "get" -d 'Display information about the current account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from help" -f -a "list-devices" -d 'List devices associated with an account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from help" -f -a "revoke-device" -d 'Revoke a device associated with an account'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from help" -f -a "redeem" -d 'Redeem a voucher'
complete -c mullvad -n "__fish_mullvad_using_subcommand account; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and not __fish_seen_subcommand_from get set help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and not __fish_seen_subcommand_from get set help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and not __fish_seen_subcommand_from get set help" -f -a "get" -d 'Display the current auto-connect setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and not __fish_seen_subcommand_from get set help" -f -a "set" -d 'Change auto-connect setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and not __fish_seen_subcommand_from get set help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and __fish_seen_subcommand_from set" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and __fish_seen_subcommand_from help" -f -a "get" -d 'Display the current auto-connect setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and __fish_seen_subcommand_from help" -f -a "set" -d 'Change auto-connect setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand auto-connect; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and not __fish_seen_subcommand_from get set help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and not __fish_seen_subcommand_from get set help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and not __fish_seen_subcommand_from get set help" -f -a "get" -d 'Get beta notifications setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and not __fish_seen_subcommand_from get set help" -f -a "set" -d 'Change beta notifications setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and not __fish_seen_subcommand_from get set help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and __fish_seen_subcommand_from set" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and __fish_seen_subcommand_from help" -f -a "get" -d 'Get beta notifications setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and __fish_seen_subcommand_from help" -f -a "set" -d 'Change beta notifications setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand beta-program; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and not __fish_seen_subcommand_from get set help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and not __fish_seen_subcommand_from get set help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and not __fish_seen_subcommand_from get set help" -f -a "get" -d 'Display the current lockdown mode setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and not __fish_seen_subcommand_from get set help" -f -a "set" -d 'Change the lockdown mode setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and not __fish_seen_subcommand_from get set help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and __fish_seen_subcommand_from set" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and __fish_seen_subcommand_from help" -f -a "get" -d 'Display the current lockdown mode setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and __fish_seen_subcommand_from help" -f -a "set" -d 'Change the lockdown mode setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand lockdown-mode; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and not __fish_seen_subcommand_from block-connection relay rollout help" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and not __fish_seen_subcommand_from block-connection relay rollout help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and not __fish_seen_subcommand_from block-connection relay rollout help" -f -a "block-connection" -d 'Block all internet connection by setting an invalid relay constraint'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and not __fish_seen_subcommand_from block-connection relay rollout help" -f -a "relay" -d 'Relay'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and not __fish_seen_subcommand_from block-connection relay rollout help" -f -a "rollout" -d 'Handy commands for interacting with the app release rollout system'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and not __fish_seen_subcommand_from block-connection relay rollout help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from block-connection" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from block-connection" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from relay" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from relay" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from relay" -f -a "disable" -d 'Inactivate this _category of relays_ - a category can be one of the following: a relay, a city, a country'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from relay" -f -a "enable" -d '(Re)Activate this _category of relays_ - a category can be one of the following: a relay, a city, a country'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from relay" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from rollout" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from rollout" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from rollout" -f -a "get" -d 'Print your rollout threshold'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from rollout" -f -a "reroll" -d 'Generate a new rollout threshold (overwrites the current threshold value)'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from rollout" -f -a "seed" -d 'Set your rollout threshold seed to a known value'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from rollout" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from help" -f -a "block-connection" -d 'Block all internet connection by setting an invalid relay constraint'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from help" -f -a "relay" -d 'Relay'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from help" -f -a "rollout" -d 'Handy commands for interacting with the app release rollout system'
complete -c mullvad -n "__fish_mullvad_using_subcommand debug; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and not __fish_seen_subcommand_from get set help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and not __fish_seen_subcommand_from get set help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and not __fish_seen_subcommand_from get set help" -f -a "get" -d 'Display the current DNS settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and not __fish_seen_subcommand_from get set help" -f -a "set" -d 'Set DNS servers to use'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and not __fish_seen_subcommand_from get set help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from set" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from set" -f -a "default" -d 'Use a default DNS server, with or without content blocking'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from set" -f -a "custom" -d 'Set a list of custom DNS servers'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from set" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from help" -f -a "get" -d 'Display the current DNS settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from help" -f -a "set" -d 'Set DNS servers to use'
complete -c mullvad -n "__fish_mullvad_using_subcommand dns; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and not __fish_seen_subcommand_from get set help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and not __fish_seen_subcommand_from get set help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and not __fish_seen_subcommand_from get set help" -f -a "get" -d 'Display the current local network sharing setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and not __fish_seen_subcommand_from get set help" -f -a "set" -d 'Change allow LAN setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and not __fish_seen_subcommand_from get set help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and __fish_seen_subcommand_from set" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and __fish_seen_subcommand_from help" -f -a "get" -d 'Display the current local network sharing setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and __fish_seen_subcommand_from help" -f -a "set" -d 'Change allow LAN setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand lan; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand connect" -s w -l wait -d 'Wait until connected before exiting'
complete -c mullvad -n "__fish_mullvad_using_subcommand connect" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand connect" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand disconnect" -s w -l wait -d 'Wait until disconnected before exiting'
complete -c mullvad -n "__fish_mullvad_using_subcommand disconnect" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand disconnect" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand reconnect" -s w -l wait -d 'Wait until connected before exiting'
complete -c mullvad -n "__fish_mullvad_using_subcommand reconnect" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand reconnect" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and not __fish_seen_subcommand_from get set list update override help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and not __fish_seen_subcommand_from get set list update override help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and not __fish_seen_subcommand_from get set list update override help" -f -a "get" -d 'Display the current relay constraints'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and not __fish_seen_subcommand_from get set list update override help" -f -a "set" -d 'Set relay constraints, such as location and port'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and not __fish_seen_subcommand_from get set list update override help" -f -a "list" -d 'List available relays'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and not __fish_seen_subcommand_from get set list update override help" -f -a "update" -d 'Update the relay list'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and not __fish_seen_subcommand_from get set list update override help" -f -a "override" -d 'Override options for individual relays/servers'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and not __fish_seen_subcommand_from get set list update override help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -f -a "location" -d 'Select a relay using country, city or hostname. The \'mullvad relay list\' command shows the available relays and their geographical location'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -f -a "custom-list" -d 'Set custom list to select relays from. Use the \'custom-lists list\' command to show available alternatives'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -f -a "provider" -d 'Set hosting provider(s) to select relays from. The \'list\' command shows the available relays and their providers'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -f -a "ownership" -d 'Filter relays based on ownership. The \'list\' command shows the available relays and whether they\'re rented'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -f -a "ip-version" -d 'Set tunnel IP version constraint'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -f -a "multihop" -d 'Enable or disable multihop'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -f -a "entry" -d 'Set entry location constraints for multihop'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -f -a "custom" -d 'Set a custom WireGuard relay'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from set" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from list" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from update" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from update" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from override" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from override" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from override" -f -a "get" -d 'Show current custom fields for servers'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from override" -f -a "set" -d 'Set a custom field for a server'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from override" -f -a "unset" -d 'Unset a custom field for a server'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from override" -f -a "clear-all" -d 'Unset custom IPs for all servers'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from override" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from help" -f -a "get" -d 'Display the current relay constraints'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from help" -f -a "set" -d 'Set relay constraints, such as location and port'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from help" -f -a "list" -d 'List available relays'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from help" -f -a "update" -d 'Update the relay list'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from help" -f -a "override" -d 'Override options for individual relays/servers'
complete -c mullvad -n "__fish_mullvad_using_subcommand relay; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "get" -d 'Display the current API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "add" -d 'Add a custom API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "list" -d 'Lists all API access methods'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "edit" -d 'Edit a custom API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "remove" -d 'Remove a custom API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "enable" -d 'Enable an API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "disable" -d 'Disable an API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "use" -d 'Try to use a specific API access method (If the API is unreachable, reverts back to the previous access method)'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "test" -d 'Try to reach the Mullvad API using a specific access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and not __fish_seen_subcommand_from get add list edit remove enable disable use test help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from add" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from add" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from add" -f -a "socks5" -d 'Configure a SOCKS5 proxy'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from add" -f -a "shadowsocks" -d 'Configure a custom Shadowsocks proxy to use as an API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from add" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from list" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -l name -d 'Name of the API access method in the Mullvad client \\[All\\]' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -l username -d 'Username for authentication \\[Socks5 (Remote proxy)\\]' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -l password -d 'Password for authentication \\[Socks5 (Remote proxy), Shadowsocks\\]' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -l cipher -d 'Cipher to use \\[Shadowsocks\\]' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -l ip -d 'The IP of the remote proxy server \\[Socks5 (Local & Remote proxy), Shadowsocks\\]' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -l port -d 'The port of the remote proxy server \\[Socks5 (Local & Remote proxy), Shadowsocks\\]' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -l local-port -d 'The port that the server on localhost is listening on \\[Socks5 (Local proxy)\\]' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -l transport-protocol -d 'The transport protocol used by the remote proxy \\[Socks5 (Local proxy)\\]' -r
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from edit" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from remove" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from remove" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from enable" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from enable" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from disable" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from disable" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from use" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from use" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from test" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from test" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "get" -d 'Display the current API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "add" -d 'Add a custom API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "list" -d 'Lists all API access methods'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "edit" -d 'Edit a custom API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "remove" -d 'Remove a custom API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "enable" -d 'Enable an API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "disable" -d 'Disable an API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "use" -d 'Try to use a specific API access method (If the API is unreachable, reverts back to the previous access method)'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "test" -d 'Try to reach the Mullvad API using a specific access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand api-access; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and not __fish_seen_subcommand_from get set help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and not __fish_seen_subcommand_from get set help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and not __fish_seen_subcommand_from get set help" -f -a "get" -d 'Get current anti-censorship settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and not __fish_seen_subcommand_from get set help" -f -a "set" -d 'Set anti-censorship settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and not __fish_seen_subcommand_from get set help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from set" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from set" -f -a "mode" -d 'Specify which anti-censorship method to use, if any'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from set" -f -a "udp2tcp" -d 'Configure udp2tcp anti-censorship'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from set" -f -a "shadowsocks" -d 'Configure Shadowsocks anti-censorship'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from set" -f -a "wireguard-port" -d 'Configure WireGuard port anti-censorship'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from set" -f -a "lwo" -d 'Configure LWO settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from set" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from help" -f -a "get" -d 'Get current anti-censorship settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from help" -f -a "set" -d 'Set anti-censorship settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand anti-censorship; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and not __fish_seen_subcommand_from list add delete clear help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and not __fish_seen_subcommand_from list add delete clear help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and not __fish_seen_subcommand_from list add delete clear help" -f -a "list" -d 'List all processes that are excluded from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and not __fish_seen_subcommand_from list add delete clear help" -f -a "add" -d 'Add a PID to exclude from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and not __fish_seen_subcommand_from list add delete clear help" -f -a "delete" -d 'Stop excluding a PID from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and not __fish_seen_subcommand_from list add delete clear help" -f -a "clear" -d 'Stop excluding all processes from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and not __fish_seen_subcommand_from list add delete clear help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from list" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from add" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from add" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from delete" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from delete" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from clear" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from clear" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from help" -f -a "list" -d 'List all processes that are excluded from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from help" -f -a "add" -d 'Add a PID to exclude from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from help" -f -a "delete" -d 'Stop excluding a PID from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from help" -f -a "clear" -d 'Stop excluding all processes from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand split-tunnel; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and not __fish_seen_subcommand_from listen help" -s v -l verbose -d 'Enable verbose output'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and not __fish_seen_subcommand_from listen help" -s d -l debug -d 'Enable debug output'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and not __fish_seen_subcommand_from listen help" -s j -l json -d 'Format output as JSON'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and not __fish_seen_subcommand_from listen help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and not __fish_seen_subcommand_from listen help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and not __fish_seen_subcommand_from listen help" -f -a "listen" -d 'Listen for tunnel state changes'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and not __fish_seen_subcommand_from listen help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and __fish_seen_subcommand_from listen" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and __fish_seen_subcommand_from listen" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and __fish_seen_subcommand_from help" -f -a "listen" -d 'Listen for tunnel state changes'
complete -c mullvad -n "__fish_mullvad_using_subcommand status; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and not __fish_seen_subcommand_from get set help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and not __fish_seen_subcommand_from get set help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and not __fish_seen_subcommand_from get set help" -f -a "get" -d 'Show current tunnel options'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and not __fish_seen_subcommand_from get set help" -f -a "set" -d 'Set tunnel options'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and not __fish_seen_subcommand_from get set help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from get" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "mtu" -d 'Configure the tunnel MTU, or \'any\''
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "quantum-resistant" -d 'Configure quantum-resistant key exchange'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "daita" -d 'Configure whether to enable DAITA'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "daita-direct-only" -d 'Configure whether to enable DAITA direct only'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "allowed-ips" -d 'Specify custom allowed IPs for WireGuard tunnels. Use comma-separated values of IPs and IP ranges in CIDR notation. A empty string resets to the default value, where all traffic is allowed, i.e. (0.0.0.0/0,::/0). For CIDR ranges, host bits must be zero (e.g., "10.0.0.0/24" is valid, "10.0.0.1/24" is not)'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "rotation-interval" -d 'The key rotation interval. Number of hours, or \'any\''
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "rotate-key" -d 'Replace the WireGuard key with a new one'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "ipv6" -d 'Enable or disable IPv6 in the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "userspace" -d 'Use userspace WireGuard'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from set" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from help" -f -a "get" -d 'Show current tunnel options'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from help" -f -a "set" -d 'Set tunnel options'
complete -c mullvad -n "__fish_mullvad_using_subcommand tunnel; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand version" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand version" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand shell-completions" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand shell-completions" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand factory-reset" -s y -l assume-yes
complete -c mullvad -n "__fish_mullvad_using_subcommand factory-reset" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand factory-reset" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand reset-settings" -s y -l assume-yes
complete -c mullvad -n "__fish_mullvad_using_subcommand reset-settings" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand reset-settings" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and not __fish_seen_subcommand_from new list edit delete help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and not __fish_seen_subcommand_from new list edit delete help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and not __fish_seen_subcommand_from new list edit delete help" -f -a "new" -d 'Create a new custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and not __fish_seen_subcommand_from new list edit delete help" -f -a "list" -d 'Show all custom lists or retrieve a specific custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and not __fish_seen_subcommand_from new list edit delete help" -f -a "edit" -d 'Edit a custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and not __fish_seen_subcommand_from new list edit delete help" -f -a "delete" -d 'Delete a custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and not __fish_seen_subcommand_from new list edit delete help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from new" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from new" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from list" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from edit" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from edit" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from edit" -f -a "add" -d 'Add a location to some custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from edit" -f -a "remove" -d 'Remove a location from some custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from edit" -f -a "rename" -d 'Rename a custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from edit" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from delete" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from delete" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from help" -f -a "new" -d 'Create a new custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from help" -f -a "list" -d 'Show all custom lists or retrieve a specific custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from help" -f -a "edit" -d 'Edit a custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from help" -f -a "delete" -d 'Delete a custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand custom-list; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand import-settings" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand import-settings" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand export-settings" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand export-settings" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and not __fish_seen_subcommand_from set-level listen help" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and not __fish_seen_subcommand_from set-level listen help" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and not __fish_seen_subcommand_from set-level listen help" -f -a "set-level" -d 'Set the log level for the daemon'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and not __fish_seen_subcommand_from set-level listen help" -f -a "listen" -d 'Follow live updates to the daemon log file. Analogue to running `tail -f` on the daemon log file'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and not __fish_seen_subcommand_from set-level listen help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and __fish_seen_subcommand_from set-level" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and __fish_seen_subcommand_from set-level" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and __fish_seen_subcommand_from listen" -s h -l help -d 'Print help'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and __fish_seen_subcommand_from listen" -s V -l version -d 'Print version'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and __fish_seen_subcommand_from help" -f -a "set-level" -d 'Set the log level for the daemon'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and __fish_seen_subcommand_from help" -f -a "listen" -d 'Follow live updates to the daemon log file. Analogue to running `tail -f` on the daemon log file'
complete -c mullvad -n "__fish_mullvad_using_subcommand log; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "account" -d 'Control and display information about your Mullvad account'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "auto-connect" -d 'Control the daemon auto-connect setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "beta-program" -d 'Receive notifications about beta updates'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "lockdown-mode" -d 'Control whether to block network access when disconnected from VPN'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "debug" -d 'Debug commands used for internal testing of the app'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "dns" -d 'Configure DNS servers to use when connected'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "lan" -d 'Control the allow local network sharing setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "connect" -d 'Connect to a VPN relay'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "disconnect" -d 'Disconnect from the VPN'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "reconnect" -d 'Reconnect to any matching VPN relay'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "relay" -d 'Manage relay and tunnel constraints'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "api-access" -d 'Manage Mullvad API access methods'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "anti-censorship" -d 'Manage use of anti censorship methods for WireGuard. Can make WireGuard traffic look like something else on the network. Helps circumvent censorship and to establish a tunnel when on restricted networks'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "split-tunnel" -d 'Manage split tunneling. To launch applications outside the tunnel, use the program \'mullvad-exclude\' instead of this command'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "status" -d 'Return the state of the VPN tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "tunnel" -d 'Manage tunnel options'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "version" -d 'Show information about the current Mullvad version and available versions'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "shell-completions" -d 'Generate completion scripts for the specified shell'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "factory-reset" -d 'Reset settings, caches, and logs'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "reset-settings" -d 'Reset settings only, but remain logged in and keep logs and caches'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "custom-list" -d 'Manage custom lists'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "import-settings" -d 'Apply a JSON patch generated by \'export-settings\''
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "export-settings" -d 'Export a JSON patch based on the current settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "log" -d 'Manage logs and tracing'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and not __fish_seen_subcommand_from account auto-connect beta-program lockdown-mode debug dns lan connect disconnect reconnect relay api-access anti-censorship split-tunnel status tunnel version shell-completions factory-reset reset-settings custom-list import-settings export-settings log help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from account" -f -a "create" -d 'Create and log in on a new account'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from account" -f -a "login" -d 'Log in on an account'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from account" -f -a "logout" -d 'Log out of the current account'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from account" -f -a "get" -d 'Display information about the current account'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from account" -f -a "list-devices" -d 'List devices associated with an account'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from account" -f -a "revoke-device" -d 'Revoke a device associated with an account'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from account" -f -a "redeem" -d 'Redeem a voucher'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from auto-connect" -f -a "get" -d 'Display the current auto-connect setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from auto-connect" -f -a "set" -d 'Change auto-connect setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from beta-program" -f -a "get" -d 'Get beta notifications setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from beta-program" -f -a "set" -d 'Change beta notifications setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from lockdown-mode" -f -a "get" -d 'Display the current lockdown mode setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from lockdown-mode" -f -a "set" -d 'Change the lockdown mode setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from debug" -f -a "block-connection" -d 'Block all internet connection by setting an invalid relay constraint'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from debug" -f -a "relay" -d 'Relay'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from debug" -f -a "rollout" -d 'Handy commands for interacting with the app release rollout system'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from dns" -f -a "get" -d 'Display the current DNS settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from dns" -f -a "set" -d 'Set DNS servers to use'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from lan" -f -a "get" -d 'Display the current local network sharing setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from lan" -f -a "set" -d 'Change allow LAN setting'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from relay" -f -a "get" -d 'Display the current relay constraints'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from relay" -f -a "set" -d 'Set relay constraints, such as location and port'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from relay" -f -a "list" -d 'List available relays'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from relay" -f -a "update" -d 'Update the relay list'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from relay" -f -a "override" -d 'Override options for individual relays/servers'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from api-access" -f -a "get" -d 'Display the current API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from api-access" -f -a "add" -d 'Add a custom API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from api-access" -f -a "list" -d 'Lists all API access methods'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from api-access" -f -a "edit" -d 'Edit a custom API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from api-access" -f -a "remove" -d 'Remove a custom API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from api-access" -f -a "enable" -d 'Enable an API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from api-access" -f -a "disable" -d 'Disable an API access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from api-access" -f -a "use" -d 'Try to use a specific API access method (If the API is unreachable, reverts back to the previous access method)'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from api-access" -f -a "test" -d 'Try to reach the Mullvad API using a specific access method'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from anti-censorship" -f -a "get" -d 'Get current anti-censorship settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from anti-censorship" -f -a "set" -d 'Set anti-censorship settings'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from split-tunnel" -f -a "list" -d 'List all processes that are excluded from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from split-tunnel" -f -a "add" -d 'Add a PID to exclude from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from split-tunnel" -f -a "delete" -d 'Stop excluding a PID from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from split-tunnel" -f -a "clear" -d 'Stop excluding all processes from the tunnel'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from status" -f -a "listen" -d 'Listen for tunnel state changes'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from tunnel" -f -a "get" -d 'Show current tunnel options'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from tunnel" -f -a "set" -d 'Set tunnel options'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from custom-list" -f -a "new" -d 'Create a new custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from custom-list" -f -a "list" -d 'Show all custom lists or retrieve a specific custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from custom-list" -f -a "edit" -d 'Edit a custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from custom-list" -f -a "delete" -d 'Delete a custom list'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from log" -f -a "set-level" -d 'Set the log level for the daemon'
complete -c mullvad -n "__fish_mullvad_using_subcommand help; and __fish_seen_subcommand_from log" -f -a "listen" -d 'Follow live updates to the daemon log file. Analogue to running `tail -f` on the daemon log file'
