MCPcopy Create free account
hub / github.com/Effect-TS/effect / hasWizardSteps

Function hasWizardSteps

packages/effect/src/unstable/cli/internal/wizard.ts:105–108  ·  view source on GitHub ↗
(command: Command.Command.Any)

Source from the content-addressed store, hash-verified

103)
104
105const hasWizardSteps = (command: Command.Command.Any): boolean => {
106 const hasVisibleSubcommands = command.subcommands.some((group) => group.commands.some((child) => !child.unlisted))
107 return hasVisibleSubcommands || toImpl(command).config.orderedParams.length > 0
108}
109
110const promptParam: (
111 param: Param.Any

Callers 1

wizard.tsFile · 0.85

Calls 2

toImplFunction · 0.90
someMethod · 0.80

Tested by

no test coverage detected