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

import {
  CBs
} from "../../../../chunk-O6UZH2O7.js";
import "../../../../chunk-IAWYWZSL.js";
import "../../../../chunk-DHZ7AZKP.js";

// ../../boilerplates/sqlite/dist/files/$.env.js
async function getEnv(props) {
  if (props.meta.BATI.hasD1) return;
  const envContent = await props.readfile?.();
  return CBs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
}
export {
  getEnv as default
};
