(command: Command.Command.Any)
| 103 | ) |
| 104 | |
| 105 | const 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 | |
| 110 | const promptParam: ( |
| 111 | param: Param.Any |