import { defaultSkipDownload } from "../../config.js";
import { getLlama } from "../../bindings/getLlama.js";
export const OnPostInstallCommand = {
    command: "postinstall",
    describe: false,
    async handler() {
        if (defaultSkipDownload)
            return;
        try {
            await getLlama({
                progressLogs: true
            });
            process.exit(0);
        }
        catch (err) {
            console.error(err);
            process.exit(1);
        }
    }
};
//# sourceMappingURL=OnPostInstallCommand.js.map