farmcontrol-server/src/headless.js
Tom Butcher ee9895d562
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Update configuration and enhance CLI logging functionality
- Change log level in development config from "debug" to "info" for improved clarity.
- Add new dependencies: chalk and cli-spinners for enhanced CLI output.
- Introduce command line utility functions for better logging and spinner management.
- Refactor various components to utilize the new CLI logging methods, improving user feedback during operations.
- Update package and lock files to reflect new dependencies.
2026-07-27 02:03:17 +01:00

9 lines
184 B
JavaScript

process.env.FC_HEADLESS_ENTRY = "1";
import("./index.js").then(({ init }) =>
init({ headless: true }).catch((err) => {
console.error(err.message);
process.exit(1);
}),
);