{"id":16757064,"url":"https://github.com/guxingke/dubbo-cli","last_synced_at":"2026-02-20T15:32:43.511Z","repository":{"id":101545523,"uuid":"184247006","full_name":"guxingke/dubbo-cli","owner":"guxingke","description":"a command line dubbo telnet wrapper","archived":false,"fork":false,"pushed_at":"2022-12-06T00:42:42.000Z","size":5885,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T17:09:31.527Z","etag":null,"topics":["cli","dubbo","graalvm","telnet","toolkit"],"latest_commit_sha":null,"homepage":"https://github.com/guxingke/dubbo-cli","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guxingke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-30T11:04:46.000Z","updated_at":"2024-10-10T03:54:26.000Z","dependencies_parsed_at":"2023-06-05T10:00:16.690Z","dependency_job_id":null,"html_url":"https://github.com/guxingke/dubbo-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/guxingke/dubbo-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guxingke%2Fdubbo-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guxingke%2Fdubbo-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guxingke%2Fdubbo-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guxingke%2Fdubbo-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guxingke","download_url":"https://codeload.github.com/guxingke/dubbo-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guxingke%2Fdubbo-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29655307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","dubbo","graalvm","telnet","toolkit"],"created_at":"2024-10-13T03:42:48.552Z","updated_at":"2026-02-20T15:32:43.494Z","avatar_url":"https://github.com/guxingke.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dubbo-cli\n简单 dubbo telnet 包装. \n方便临时调用和调试.\n\n# 特性\n## 支持多 dubbo provider\n应用场景多个 dubbo 应用\n## 支持多环境\n快速切换至 local, test, beta 等环境\n## 查看接口信息\n基于 dubbo telnet ls 命令\n## 普通调用\n基于 dubbo telnet invoke 命令\n## 别名调用\n基于普通调用, 支持配置模板, 可调用时动态传参\n\n# 快速开始\n## 安装\n```bash\nbrew tap guxingke/repo \u0026\u0026 brew install dubbo\n```\n\n## 示例\n\n### 示例提供者代码[provider](https://github.com/guxingke/demo/blob/master/dubbo-demo/hello-demo/src/main/java/com/gxk/demo/boot/ServerApp.java)\n\n### 示例操作\n```bash\n# in\ndubbo help\n# out\nExample usage:\n  dubbo init // init base cfg\n  dubbo deinit // reverse init , for re init or uninstall\n  dubbo ls [Service] // show dubbo service or service detail\n  dubbo status(st) // show active context, env.\n  dubbo context(ctx) \u003csubcmd\u003e [args] // context operation\n  dubbo env \u003csubcmd\u003e [args] // context operation\n  dubbo invoke // call rpc or call alias rpc\n\nTroubleshooting:\n  dubbo config // show cfg\n\nFurther help:\n  dubbo cmd help\n  dubbo version\n\n# in\ndubbo init\n# out\n~\n\n# in\ndubbo st\n# out\nActive Context: default\nActive Env: local\nEnv Detail: Env(host=127.0.0.1, port=20880, link=telnet, charset=GBK)\n\n# in\ndubbo ls\n# out\nPROVIDER:\ncom.gxk.demo.service.HelloService -\u003e  published: N\n\n# in\ndubbo ls com.gxk.demo.service.HelloService\n# out\ncom.gxk.demo.service.HelloService (as provider):\n\tcom.gxk.demo.service.TestResp hello1(com.gxk.demo.service.TestReq)\n\tjava.lang.String hello(java.lang.String)\n\n# in\ndubbo invoke test 'com.gxk.demo.service.HelloService.hello(\"xx\")'\n# out\n\"Hello xx, response from provider: null\"\n\n# in\ndubbo invoke test 'com.gxk.demo.service.HelloService.hello1({\"id\": \"1\",\"msg\": \"xx\"})'\n# out\n{\"id\":\"1\",\"msg\":\"xx\"}\n\n# in\ndubbo invoke set f1 'com.gxk.demo.service.HelloService.hello1({\"id\": \"{}\",\"msg\": \"xx\"})' 10\n# out\n~\n\n# in\ndubbo invoke f1\n# out\n{\"id\":\"10\",\"msg\":\"xx\"}\n\n# in\ndubbo invoke f1 20\n# out\n{\"id\":\"20\",\"msg\":\"xx\"}\n\n# 命令用法参考 dubbo \u003ccmd\u003e help, \n# e.g\n# in\ndubbo invoke help\n# out\ndubbo telnet invoke wrapper\n\nUSAGE:\n- test call\ntest \u003cservice\u003e.\u003cmethod\u003e(\u003cargs\u003e)\n\n- alias call\nls                                 # list all alias\n\u003calias\u003e \u003carg1\u003e \u003carg2\u003e              # e.g f1 \"test\" true\nset \u003calias\u003e \u003ctpl\u003e \u003cdefault args\u003e   # e.g set f1 test.HelloService.hello(\"{}\", {}) test,true\nrm \u003calias\u003e                         # e.g rm f1\n\n```\n\n# 支持版本\n- dubbox 2.8.4\n- dubbo 2.7.1\n\n# 限制\n## 某些 dubbo 版本不支持, 已知 2.7.0 不支持\n## 仅支持 Unix*\n\n# 概念\n## context\n上下文, 对应多个 dubbo provider\n\n## env\n环境, 同一个 context 下多个环境, 可对应不同的应用实例, e.g local, test, beta...\n\n## invoke alias\n别名, 用来快速调用, 支持默认值, 和传参替换, 模板预发使用 slf4j 日志格式, e.g \"xxx: {}\"\n\n# 开发\n## 环境\n- maven 3.3+\n- jdk 1.8+\n- graalvm 1.0+\n\n## 构建\n```bash\nmvn clean package\n./build.sh # build binary executable file named dubbo.\n```\n\n# 安装\n```bash\nmv target/dubbo ~/.local/bin\n```\n或者\n```bash\nln -snf `pwd`/target/dubbo ~/.local/dubbo\n```\n\n# 变更记录\n- 基本可用\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguxingke%2Fdubbo-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguxingke%2Fdubbo-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguxingke%2Fdubbo-cli/lists"}