-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: port ssh cmd from python, refactored ssh key gen
- Loading branch information
1 parent
930fc3c
commit 4c90f4b
Showing
6 changed files
with
320 additions
and
120 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package cmd | ||
|
||
import ( | ||
"cli/cmd/ssh" | ||
|
||
"github.com/spf13/cobra" | ||
) | ||
|
||
var sshCmd = &cobra.Command{ | ||
Use: "ssh", | ||
Short: "SSH keys and commands", | ||
Long: "SSH key management and connection to pods", | ||
} | ||
|
||
func init() { | ||
sshCmd.AddCommand(ssh.ListKeysCmd) | ||
sshCmd.AddCommand(ssh.AddKeyCmd) | ||
} |
Oops, something went wrong.