aws cli create: added guided db creation (#134)

This commit is contained in:
dswbx
2025-04-02 20:18:52 +02:00
committed by GitHub
parent e4608b7df7
commit aaae8d9681
3 changed files with 117 additions and 0 deletions

View File

@@ -78,6 +78,12 @@ async function createD1(ctx: TemplateSetupCtx) {
process.exit(1);
}
await $p.stream.info(
(async function* () {
yield* typewriter("Now running wrangler to create a D1 database...");
})(),
);
exec(`npx wrangler d1 create ${name}`);
await $p.stream.info(
(async function* () {