registrystack / registrystack/registry-stack
Shared quoting helper for path hints in bregctl and evidencectl
- Vorherrschende Sprache
- Rust
- Sterne
- 2
- Forks
- 0
- Ø Merge
- 2 Std. 55 Min.
- Gemergte PRs (30 T.)
- 130
Beschreibung
The next-step line of `bregctl init`, the build diagnosis hint of `evidencectl`, and the scaffold's next-step hint interpolate a project path unquoted, so a path containing whitespace is not copy-pastable.
Add one quoting helper and use it for every hint, so the hints change together. Cover each hint with a unit test whose path contains a space.
Origin: review of PR #850; declined there so the three hints move in one change.
Beitragsleitfaden
Rechercherichtung
Locate the implementations and existing unit tests for the next-step hints in bregctl init, evidencectl build diagnosis, and the scaffold. Start by comparing how each hint currently interpolates its project path. Done means all three use the shared quoting behavior and each has a unit test covering a path containing whitespace.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- cli
- Issue-Typ
- Refactoring
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 78/100