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

Function wizard

packages/effect/src/unstable/cli/Command.ts:1621–1626  ·  view source on GitHub ↗
(
  command: Command<Name, Input, ContextInput, E, R>,
  options?: {
    readonly prefix?: ReadonlyArray<string> | undefined
  } | undefined
)

Source from the content-addressed store, hash-verified

1619 * @since 4.0.0
1620 */
1621export const wizard = <Name extends string, Input, E, R, ContextInput>(
1622 command: Command<Name, Input, ContextInput, E, R>,
1623 options?: {
1624 readonly prefix?: ReadonlyArray<string> | undefined
1625 } | undefined
1626): Effect.Effect<Array<string>, CliError.CliError | Terminal.QuitError, Environment> => Wizard.run(command, options)
1627
1628const getOutOfScopeGlobalFlagErrors = (
1629 allFlags: ReadonlyArray<GlobalFlag.GlobalFlag<any>>,

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected