|
import fs from "fs-extra";
|
|
|
|
const handler = async ({consola}) => {
|
|
consola.raw(
|
|
await fs.readFile(
|
|
new URL("../changelog-schema.yml", import.meta.url),
|
|
"utf-8"
|
|
)
|
|
);
|
|
};
|
|
|
|
export default {
|
|
command: "schema",
|
|
desc: "output the changelog schema",
|
|
handler,
|
|
};
|