import { generateChangelog, generateTotalChangelog } from '@soybeanjs/changelog'; import type { ChangelogOption } from '@soybeanjs/changelog'; export async function genChangelog(options?: Partial, total = false) { if (total) { await generateTotalChangelog(options); } else { await generateChangelog(options); } }