Commit 7e5d315
committed
refactor: CLI-mediate credentials and move global-config to globalFlags
Replace the dedicated `coder.globalConfig` setting with a `--global-config`
passthrough in `coder.globalFlags`, honored on 2.31.0+. The extension no longer
reads/writes the CLI credential files itself: it writes via `coder login`
(0.25.0+, `--use-token-as-session`), reads via `coder login token` (2.31.0+),
and deletes via `coder logout` (keyring or file with `--global-config`).
Direct file writes remain only as a pre-0.25 fallback. The binary cache no
longer follows the config dir.1 parent e67abdc commit 7e5d315
14 files changed
Lines changed: 407 additions & 340 deletions
File tree
- src
- core
- remote
- settings
- supportBundle
- test/unit
- api
- core
- supportBundle
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | 184 | | |
191 | | - | |
| 185 | + | |
192 | 186 | | |
193 | 187 | | |
194 | 188 | | |
| |||
0 commit comments