PDPA Features: ✅ Cookie consent banner ✅ Consent logging API ✅ Admin dashboard ✅ Privacy Policy ✅ Terms & Conditions Technical: ✅ Astro 5.x + Tailwind v4 ✅ Docker on port 80 ✅ SQLite database ✅ 15 pages built Ready for Easypanel deployment.
19 lines
323 B
JavaScript
19 lines
323 B
JavaScript
class CliCommandRunner {
|
|
#helpDisplay;
|
|
constructor({
|
|
helpDisplay
|
|
}) {
|
|
this.#helpDisplay = helpDisplay;
|
|
}
|
|
run(command, ...args) {
|
|
if (this.#helpDisplay.shouldFire()) {
|
|
this.#helpDisplay.show(command.help);
|
|
return;
|
|
}
|
|
return command.run(...args);
|
|
}
|
|
}
|
|
export {
|
|
CliCommandRunner
|
|
};
|