(format string, keys ...*gitlab.SSHKey)
| 314 | } |
| 315 | |
| 316 | func printSSHKeysOut(format string, keys ...*gitlab.SSHKey) { |
| 317 | switch format { |
| 318 | case YAML: |
| 319 | printYAML(keys) |
| 320 | // NOTE: Printing long ssh key in table is ugly.. |
| 321 | default: |
| 322 | printJSON(keys) |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | func printBranchOut(format string, branches ...*gitlab.Branch) { |
| 327 | switch format { |
no test coverage detected