import { images, pdf } from "../../../actions/index.js";
import { initializeContext, runTranslateIfNeeded } from "../../helpers.js";
export const handler = async (argv) => {
    const context = await initializeContext(argv);
    if (!context) {
        process.exit(1);
    }
    await runTranslateIfNeeded(context);
    await images(context);
    await pdf(context, argv.pdf_mode, argv.pdf_size);
};
