mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-07 21:59:15 +00:00
feat(connect): add --connect flag to connect to remote cluster machine without using config
This commit is contained in:
1 parent
b799b7518e
commit
a0a66f34c4
4 files changed
+65
-14
No files matched your search
@@ -77,7 +77,7 @@ func NewInitCommand() *cobra.Command {
|
||||
)
|
||||
cmd.Flags().StringVarP(
|
||||
&opts.sshKey, "ssh-key", "i", "",
|
||||
"path to SSH private key for SSH remote login. (default ~/.ssh/id_*)",
|
||||
"Path to SSH private key for SSH remote login. (default ~/.ssh/id_*)",
|
||||
)
|
||||
cmd.Flags().StringVarP(
|
||||
&opts.cluster, "cluster", "c", "",
|
||||
|
||||
Reference in new issue
Block a user