Skip to content

Commit b65259f

Browse files
authored
feat: Refactor CLI config-ssh to improve UX (coder#1900)
- Magic block is replaced by Include statement - Writes are only done on changes - Inform user of changes via prompt - Allow displaying changes via `--diff` - Remove magic block if present - Safer config writing via tmp-file + rename - Parse previous `config-ssh` options, compare to new options and ask to use new (otherwise old ones are used) - Tests the new functionality Fixes coder#1326
1 parent 945fa9d commit b65259f

File tree

5 files changed

+942
-96
lines changed

5 files changed

+942
-96
lines changed

0 commit comments

Comments
 (0)