(message: string, defaultValue: string)
| 18 | |
| 19 | // Function to prompt user for input without readline-sync |
| 20 | async function prompt(message: string, defaultValue: string): Promise<string> { |
| 21 | return (await text({ |
| 22 | message: `${message} (${defaultValue}):`, |
| 23 | placeholder: defaultValue, |
| 24 | defaultValue, |
| 25 | })) as string; |
| 26 | } |
| 27 | |
| 28 | // Function to extract account IDs from `wrangler whoami` output |
| 29 | function extractAccountDetails(output: string): { name: string; id: string }[] { |
no outgoing calls
no test coverage detected