feat: add flag for Windows to create unix compatible filepaths (#8164)

* feat: add flag for Windows to create unix compatible filepaths
This commit is contained in:
Steven Masley
2023-06-22 17:08:12 -05:00
committed by GitHub
parent 5d45218a5d
commit 797e91d4c6
5 changed files with 142 additions and 16 deletions

View File

@ -15,6 +15,12 @@ Add an SSH Host entry for your workspaces "ssh coder.workspace"
-n, --dry-run bool, $CODER_SSH_DRY_RUN
Perform a trial run with no changes made, showing a diff at the end.
--force-unix-filepaths bool, $CODER_CONFIGSSH_UNIX_FILEPATHS
By default, 'config-ssh' uses the os path separator when writing the
ssh config. This might be an issue in Windows machine that use a
unix-like shell. This flag forces the use of unix file paths (the
forward slash '/').
--ssh-config-file string, $CODER_SSH_CONFIG_FILE (default: ~/.ssh/config)
Specifies the path to an SSH config.