# shellcheck shell=dash

xrc:mod:lib     ossinsight       collection/ls  collection/ranking  collection/repos

# https://ossinsight.io/docs/api/list-collections
___x_cmd_ossinsight_collection(){
    local op="$1"; shift
    case "$op" in
        -h|--help)      ___x_cmd help -m ossinsight collection "$@" ;;
        ls|ranking|repos|hot)    ___x_cmd_ossinsight_collection_"$op" "$@" ;;
        *)              M="Not found command - 'x ossinsight collection $op'" N=ossinsight log:ret:1 ;;
    esac
}