(key: string, cliArgs: CliArgs)
| 78 | } |
| 79 | |
| 80 | function cliValue(key: string, cliArgs: CliArgs): PluginAnswer | undefined { |
| 81 | const value = cliArgs[key]; |
| 82 | if (typeof value === 'string' || typeof value === 'boolean') { |
| 83 | return value; |
| 84 | } |
| 85 | return undefined; |
| 86 | } |
| 87 | |
| 88 | async function runPrompt( |
| 89 | descriptor: PluginPromptDescriptor, |
no outgoing calls
no test coverage detected