()
| 157 | } |
| 158 | |
| 159 | async function promptToSignup(): Promise<boolean> { |
| 160 | const answers = await logPrompt( |
| 161 | `Join the Ionic Community! 💙\n` + |
| 162 | `Connect with millions of developers on the Ionic Forum and get access to live events, news updates, and more.`, |
| 163 | { |
| 164 | type: 'confirm', |
| 165 | name: 'create', |
| 166 | message: `Create free Ionic account?`, |
| 167 | initial: true, |
| 168 | }, |
| 169 | ); |
| 170 | |
| 171 | if (answers.create) { |
| 172 | open(`http://ionicframework.com/signup?source=capacitor`); |
| 173 | } |
| 174 | return answers.create; |
| 175 | } |
no test coverage detected