MCPcopy Create free account
hub / github.com/algolia/cli / unsupportedShortcutError

Function unsupportedShortcutError

pkg/cmd/open/open.go:82–88  ·  view source on GitHub ↗
(shortcut string)

Source from the content-addressed store, hash-verified

80}
81
82func 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.
91type pageEntry struct {

Callers 2

runOpenCmdFunction · 0.85
printTargetsFunction · 0.85

Calls 2

targetNamesFunction · 0.85
ErrorfMethod · 0.65

Tested by

no test coverage detected