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

Function UsageFuncDefault

pkg/cmdutil/usage.go:129–134  ·  view source on GitHub ↗
(
	IOStreams *iostreams.IOStreams,
	command *cobra.Command,
)

Source from the content-addressed store, hash-verified

127}
128
129func UsageFuncDefault(
130 IOStreams *iostreams.IOStreams,
131 command *cobra.Command,
132) func(cmd *cobra.Command) error {
133 return UsageFunc(IOStreams, command, command.LocalFlags().FlagUsages())
134}
135
136func UsageFuncWithFilteredFlags(
137 IOStreams *iostreams.IOStreams,

Callers 1

rootUsageFuncFunction · 0.92

Calls 1

UsageFuncFunction · 0.85

Tested by

no test coverage detected