complete -f asd
complete -c asd -n "test (__fish_number_of_cmd_args_wo_opts) = 1" \
    -a "sync unsync resync"