| 30 | } |
| 31 | |
| 32 | function printIssueConsent(dir: string): void { |
| 33 | console.log(); |
| 34 | console.log( |
| 35 | ` ${c.bold("Filing an issue will publish this project publicly and open a GitHub issue draft.")}`, |
| 36 | ); |
| 37 | console.log(` ${c.dim(`Project at ${dir} will be uploaded to a public URL.`)}`); |
| 38 | console.log( |
| 39 | ` ${c.dim("The issue draft will contain that public link plus your feedback; you review and submit it.")}`, |
| 40 | ); |
| 41 | console.log(); |
| 42 | } |
| 43 | |
| 44 | async function promptConfirm(): Promise<boolean> { |
| 45 | const approved = await clack.confirm({ message: "Publish this project and draft the issue?" }); |