mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-05 03:33:24 +08:00
* tsh: Implement puttyconfig command to add saved PuTTY sessions to Windows registry * Addressed comments from code review * Add support for leaf clusters * Refactoring from code review Also moved registry/hostname functions into external packages * Address more feedback from code review * Rebase following tsh/common changes * Fix up putty_config_windows * Reorder command * Remove surplus comment * Use a separate list instead of overloading the 'extra' key * Address Tim's code review comments * Address some of Zac's comments * Refactor formatLocalCommandString to use text/template * Refactor non-Windows logic into puttyhosts * Fix subcommand name * Fix test structure * Add some more hostnames test cases * Apply suggestions from code review Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com> * Fix up --------- Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>