(shortcut string)
| 80 | } |
| 81 | |
| 82 | func unsupportedShortcutError(shortcut string) error { |
| 83 | return fmt.Errorf( |
| 84 | "unsupported open command, given: %s\n\nAvailable shortcuts: %s", |
| 85 | shortcut, |
| 86 | strings.Join(targetNames(), ", "), |
| 87 | ) |
| 88 | } |
| 89 | |
| 90 | // pageEntry describes an open shortcut for machine-readable output. |
| 91 | type pageEntry struct { |
no test coverage detected