()
| 213 | } |
| 214 | |
| 215 | export async function selectGit(): Promise<boolean> { |
| 216 | const git = await confirm({ |
| 217 | message: 'Would you like to initialize a new git repository?', |
| 218 | initialValue: true, |
| 219 | }) |
| 220 | if (isCancel(git)) { |
| 221 | cancel('Operation cancelled.') |
| 222 | process.exit(0) |
| 223 | } |
| 224 | return git |
| 225 | } |
| 226 | |
| 227 | export async function selectExamples(): Promise<boolean> { |
| 228 | const includeExamples = await confirm({ |
no outgoing calls
no test coverage detected