-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tsh login to select clusters.
The following changes have been introduced to tsh login behavior: 1. tsh login now accepts cluster name as an optional positional argument: $ tsh login clustername 2. If tsh login is called without arguments and the current credentials are valid, tsh login now prints status, previous behavior always forced login: $ tsh login ... print status if logged in... 2. If tsh login is called with the proxy equal to current, tsh login selects cluster, otherwise it will re-login to another proxy: $ tsh login one ... selected cluster one $ tsh login two ... selected cluster two $ tsh login --proxy=example.com three ... selected cluster three because proxy is the same $ tsh login --proxy=acme.example.com four ...will switch to proxy acme.example.com and cluster four
- Loading branch information
1 parent
f8b8de0
commit e570b24
Showing
8 changed files
with
151 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.