# shellcheck shell=dash disable=SC2034,SC2154
# shellcheck disable=SC2039,3043
# https://gitea.com/api/swagger#/organization

xrc:mod:lib     fjo                   \
                org/ls                \
                org/info              \
                org/repo/_index       \
                org/member/_index     \
                org/apply

___x_cmd_fjo_org(){
    param:scope     ___x_cmd_fjo
    param:subcmd    ___x_cmd_fjo_org                    \
        "info"                      "Show information"                  \
        "ls"                        "get organizations list"            \
        repo                        "List all repos"                    \
        "member|membership"         "member management"
        # apply           "manage org by declare configure"   \

    param:subcmd:try
    param:run


    ___x_cmd_fjo_org _param_help_doc
    return 1
}
