Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Use cli for all operations instead of the API

未关闭
#243 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
停滞
技术栈
typescript
领域
cli, tooling

调研方向

首先定位当前重新实现 workspace 更新和其他 API 行为的插件操作,然后检查如何调用 CLI。确定涵盖所有插件的范围,并验证 CLI 失败会将 stderr 暴露为错误消息;该 issue 尚未解决 API 层替代方案。

由索引模型根据 Issue 内容生成。

描述

We have to re-implement logic (like updating a workspace before starting it) and it would be better to just call out to the cli since it already accounts for all that.

It is a lot of surface area to cover (every plugin) any time a feature is added.

If the command errors, show whatever is in stderr as the error message.

An alternative would be to handle these things at the API layer, and maybe there is a case to be made for that.

主要语言
TypeScript
星标
131
派生
48
平均合并
4 天 15 小时
30 天内合并 PR
17

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

coder/vscode-coder 的其他 Issue

查看 coder/vscode-coder 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。