Use cli for all operations instead of the API
- Vorherrschende Sprache
- TypeScript
- Sterne
- 130
- Forks
- 48
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 15
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Plugin-Operationen zu lokalisieren, die derzeit Workspace-Aktualisierungen und anderes API-Verhalten erneut implementieren, und untersuche anschließend, wie die CLI aufgerufen werden kann. Lege den Umfang über alle Plugins hinweg fest und überprüfe, dass CLI-Fehler stderr als Fehlermeldung offenlegen; die Alternative auf API-Ebene bleibt in diesem Issue ungeklärt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- cli, tooling
- Issue-Typ
- Refactoring
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100