Skip to content

Commit

Permalink
feat(completions): update ngrok
Browse files Browse the repository at this point in the history
  • Loading branch information
abgox committed Jun 11, 2024
1 parent 5a92127 commit 046e460
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 6 deletions.
3 changes: 2 additions & 1 deletion completions/ngrok/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"language": [
"en-US"
"en-US",
"zh-CN"
]
}
2 changes: 1 addition & 1 deletion completions/ngrok/guid.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1b11254a-01c3-4c1f-8e20-1ef6dd2dcc19
602e89b6-caed-4c7f-8619-bc5e9ae9af87
4 changes: 2 additions & 2 deletions completions/ngrok/language/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
"completion_info": {
"url": "https://ngrok.com/",
"description": [
"ngrok - Unified Ingress Platform for developers\n",
"Connect localhost to the internet for testing applications and APIs"
"ngrok - Unified Ingress Platform for developers.\n",
"Connect localhost to the internet for testing applications and APIs."
]
}
}
Expand Down
77 changes: 75 additions & 2 deletions completions/ngrok/language/zh-CN.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
{
"root": [],
"root": [
{
"name": "api",
"tip": "使用 ngrok 代理作为 API 客户端"
},
{
"name": "completion",
"tip": "生成 bash 或 zsh 的 shell 补全代码"
},
{
"name": "config",
"tip": "更新或迁移 ngrok 的配置文件"
},
{
"name": "credits",
"tip": "打印作者和许可信息"
},
{
"name": "diagnose",
"tip": "诊断连接问题"
},
{
"name": "help",
"tip": "有关任何命令的帮助"
},
{
"name": "http",
"tip": "启动 HTTP 隧道"
},
{
"name": "service",
"tip": "在目标操作系统上运行和控制 ngrok 服务"
},
{
"name": "start",
"tip": "从配置文件中按名称启动隧道"
},
{
"name": "tcp",
"tip": "启动 TCP 隧道"
},
{
"name": "tls",
"tip": "启动 TLS 隧道"
},
{
"name": "tunnel",
"tip": "启动用于隧道组后端的隧道"
},
{
"name": "update",
"tip": "将 ngrok 更新到最新版本"
},
{
"name": "version",
"tip": "打印版本信息"
}
],
"options": [
{
"name": "--version",
Expand All @@ -10,12 +67,28 @@
}
],
"common_options": [
{
"name": "--config",
"tip": [
"指定配置文件的路径\n",
"如果有多个会被合并"
]
},
{
"name": "--help",
"alias": [
"-h"
],
"tip": "显示帮助信息"
}
]
],
"info": {
"completion_info": {
"url": "https://ngrok.com/",
"description": [
"ngrok - 面向开发人员的统一入口平台。\n",
"将 localhost 连接到 Internet 以测试应用程序和 API。"
]
}
}
}

0 comments on commit 046e460

Please sign in to comment.