Use cli for all operations instead of the API
未關閉
- 主要語言
- TypeScript
- 星號
- 130
- 分支
- 48
- 平均合併
- 3 天 3 小時
- 30 天內合併 PR
- 15
描述
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.
貢獻指南
研究方向
首先定位目前重新實作 workspace 更新和其他 API 行為的外掛程式操作,然後檢查如何呼叫 CLI。定義涵蓋所有外掛程式的範圍,並驗證 CLI 失敗時會將 stderr 暴露為錯誤訊息;該 issue 尚未解決 API 層的替代方案。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- cli, tooling
- Issue 類型
- 重構
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100