File tree Expand file tree Collapse file tree 5 files changed +17
-7
lines changed
Expand file tree Collapse file tree 5 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -16,26 +16,36 @@ QoderCLI 是一个开源的代码智能分析与生成工具,专为开发者
1616
17174 . 部署完成后,通过控制台远程连接ECS。
1818
19- 5 . 通过 TUI 登录 Qoder,在终端中启动 Qoder CLI
19+ ## 使用示例
20+
21+ 1 . 通过 TUI 登录 Qoder,在终端中启动 Qoder CLI
2022 ``` bash
2123 qodercli
2224 ```
2325
24- 6 . 在交互式提示符中,输入 /login
26+ 2 . 在交互式提示符中,输入 /login
2527
2628 ``` bash
2729 /login
2830 ```
2931
30- 7 . 选择需要的登录方式:
32+ 3 . 选择需要的登录方式:
3133
3234 login with browser: 这会在你的默认浏览器中打开登录页面以完成身份验证。
3335
34- login with qoder personal access token: 系统会提示你将 Qoder Personal Access Token 直接粘贴到终端。
36+ 4 . 登录成功后,开始对话,输入问题,QoderCLI 将自动生成代码、生成单元测试、解释复杂逻辑,并支持多语言智能问答。
37+
38+ ![ image.png] ( img_2.png )
39+
40+ 5 . 本文以 使用Qoder CLI 生成通过浏览器调用 Qoder CLI 的代码为例,如下图所示,CLI会自动创建相关文件并运行服务。
41+
42+ ![ image.png] ( img.png )
43+
44+ 6 . 启动后通过浏览器访问服务。
45+
46+ ![ image.png] ( img_3.png )
3547
36- 在你做出选择后,应用会引导你完成最后的步骤。
37- 你可以在[ 此页面获取 Personal Access Token] ( https://qoder.com/account/integrations )
3848
3949## 📚 使用指南
4050
41- 使用请参考 QoderCLI [ 官方文档] ( https://docs.qoder.com/zh/cli/using-cli ) 了解完整命令列表。
51+ 使用请参考 Qoder CLI [ 官方文档] ( https://docs.qoder.com/zh/cli/using-cli ) 了解完整命令列表。
You can’t perform that action at this time.
0 commit comments