# shellcheck shell=dash

___x_cmd_apt_osv(){
    case "$1" in
        -h|--help) ___x_cmd help -m apt osv ; return  ;;
    esac

    # ___x_cmd_apt ls --install | ___x_cmd osv query
    local lockfile="/var/lib/dpkg/status"
    [ -f "$lockfile" ] || N=apt M="dpkg lockfile not found -> $lockfile" log:ret:1
    ___x_cmd osv scanner scan --lockfile "dpkg-status:$lockfile"
}

