#!/usr/bin/env node
import { createRequire as createRequire_BATI_CLI } from 'module';
const require = createRequire_BATI_CLI(import.meta.url);

import {
  Mps,
  vEs
} from "../../../../chunk-53NHAV3C.js";
import "../../../../chunk-IAWYWZSL.js";
import "../../../../chunk-IHX3I5SM.js";

// ../../boilerplates/kysely/dist/files/$TODO.md.js
async function getTodo(props) {
  if (props.meta.BATI.hasD1) return;
  const content = await vEs(props);
  const pmCmd = Mps().run;
  const todo = `
## Kysely

Ensure that \`DATABASE_URL\` is configured as desired in \`.env\` file, then create the database:
\`\`\`bash
${pmCmd} kysely:migrate # creates kysely tables
\`\`\`
`;
  content.addMarkdownFeature(todo, "kysely");
  return content;
}
export {
  getTodo as default
};
