(cmd *cobra.Command)
| 79 | } |
| 80 | |
| 81 | func runGetSSHKey(cmd *cobra.Command) error { |
| 82 | sshKeys, err := getSSHKeys() |
| 83 | if err != nil { |
| 84 | return err |
| 85 | } |
| 86 | printSSHKeysOut(getFlagString(cmd, "out"), sshKeys...) |
| 87 | return nil |
| 88 | } |
| 89 | |
| 90 | func getSSHKeys() ([]*gitlab.SSHKey, error) { |
| 91 | git, err := newGitlabClient() |
no test coverage detected