# shellcheck shell=sh disable=SC2154,SC2120,SC3043,SC2034,SC2329

# Reference: https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN#8b0f2a1b

xrc:mod:lib feishu   bot/send

___x_cmd_feishu_bot(){
    param:subcmd ___x_cmd_feishu_bot    \
        send   "send msg"

    param:subcmd:try
    param:run

    if [ "$#" -eq 0 ]; then
        ___x_cmd_feishu bot --help
    else
        ___x_cmd_feishu bot send "$@"
    fi
    return
}
