microcks / microcks/microcks-cli
CLI reports non-native default config path on Windows
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Go
- Sterne
- 52
- Forks
- 68
- Ø Merge
- 6 Std. 54 Min.
- Gemergte PRs (30 T.)
- 10
Beschreibung
Describe the bug
The CLI constructed the ConfigPath variable with mixed seperators and hence, the reported default config path in --help was wrong.
--config string Path to Microcks config (default "C:\\Users\\HomePC/.config/microcks/config")
This seems to be a cosmetic issue only, the actual paths used by the runtime logic is different.
Expected behavior
The expected path should be C:\\Users\\HomePC\\.config\\microcks\\config on Windows
Actual behavior
Reports C:\Users\some_name/.config/microcks/config
How to Reproduce?
Run microcks --help on Windows
Microcks version or git rev
fde7e8febdbb48c30ca74ba51aa77e725f033105
Install method (docker-compose, helm chart, operator, docker-desktop extension,...)
source
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Start by tracing where the CLI constructs the ConfigPath value used in --help, focusing on the mixed separators shown in the issue. Reproduce with microcks --help on Windows and verify that the reported default path uses native Windows separators while runtime path behavior remains unchanged.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Ruhig
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 72/100