complete -c spytrap-adb -n "__fish_use_subcommand" -l start-adb-server -d 'Configure if an adb server should be started if needed' -r -f -a "{auto	,always	,never	}"
complete -c spytrap-adb -n "__fish_use_subcommand" -s v -l verbose -d 'More verbose logs'
complete -c spytrap-adb -n "__fish_use_subcommand" -s h -l help -d 'Print help'
complete -c spytrap-adb -n "__fish_use_subcommand" -s V -l version -d 'Print version'
complete -c spytrap-adb -n "__fish_use_subcommand" -f -a "scan" -d 'Run a scan on a given device'
complete -c spytrap-adb -n "__fish_use_subcommand" -f -a "list" -d 'List all available devices'
complete -c spytrap-adb -n "__fish_use_subcommand" -f -a "download-ioc" -d 'Download the latest version of stalkerware-indicators ioc.yaml'
complete -c spytrap-adb -n "__fish_use_subcommand" -f -a "completions" -d 'Generate shell completions'
complete -c spytrap-adb -n "__fish_use_subcommand" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c spytrap-adb -n "__fish_seen_subcommand_from scan" -l rules -d 'Use specific rule files instead of latest downloaded' -r -F
complete -c spytrap-adb -n "__fish_seen_subcommand_from scan" -l start-adb-server -d 'Configure if an adb server should be started if needed' -r -f -a "{auto	,always	,never	}"
complete -c spytrap-adb -n "__fish_seen_subcommand_from scan" -l test-load-only
complete -c spytrap-adb -n "__fish_seen_subcommand_from scan" -l skip-apps -d 'Do not scan apps for suspicious permissions'
complete -c spytrap-adb -n "__fish_seen_subcommand_from scan" -s v -l verbose -d 'More verbose logs'
complete -c spytrap-adb -n "__fish_seen_subcommand_from scan" -s h -l help -d 'Print help'
complete -c spytrap-adb -n "__fish_seen_subcommand_from list" -l start-adb-server -d 'Configure if an adb server should be started if needed' -r -f -a "{auto	,always	,never	}"
complete -c spytrap-adb -n "__fish_seen_subcommand_from list" -s v -l verbose -d 'More verbose logs'
complete -c spytrap-adb -n "__fish_seen_subcommand_from list" -s h -l help -d 'Print help'
complete -c spytrap-adb -n "__fish_seen_subcommand_from download-ioc" -l start-adb-server -d 'Configure if an adb server should be started if needed' -r -f -a "{auto	,always	,never	}"
complete -c spytrap-adb -n "__fish_seen_subcommand_from download-ioc" -s v -l verbose -d 'More verbose logs'
complete -c spytrap-adb -n "__fish_seen_subcommand_from download-ioc" -s h -l help -d 'Print help'
complete -c spytrap-adb -n "__fish_seen_subcommand_from completions" -l start-adb-server -d 'Configure if an adb server should be started if needed' -r -f -a "{auto	,always	,never	}"
complete -c spytrap-adb -n "__fish_seen_subcommand_from completions" -s v -l verbose -d 'More verbose logs'
complete -c spytrap-adb -n "__fish_seen_subcommand_from completions" -s h -l help -d 'Print help'
complete -c spytrap-adb -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from scan; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from download-ioc; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "scan" -d 'Run a scan on a given device'
complete -c spytrap-adb -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from scan; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from download-ioc; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "list" -d 'List all available devices'
complete -c spytrap-adb -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from scan; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from download-ioc; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "download-ioc" -d 'Download the latest version of stalkerware-indicators ioc.yaml'
complete -c spytrap-adb -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from scan; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from download-ioc; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "completions" -d 'Generate shell completions'
complete -c spytrap-adb -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from scan; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from download-ioc; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
