# shellcheck shell=dash

xrc:mod:lib     mline   read write

___x_cmd_mline___main(){
    [ "$#" -gt 0 ] ||   set -- --help

    local op="$1";      shift
    case "$op" in
        -h|--help)      ___x_cmd help -m mline  "$@" ;    return 0 ;;
        read|write)     ___x_cmd_mline_"$op"    "$@" ;;
        *)              N=mline M="Unsupported subcmd -> $op" log:ret:64 ;;
    esac
}
