bnomei / kirby3-janitor

Kirby Plugin for running commands like cleaning the cache from within the Panel, PHP code, CLI or a cronjob
https://forum.getkirby.com/t/kirby3-janitor-plugin/23573
MIT License
88 stars 8 forks source link

getkirby cli support #89

Closed bnomei closed 1 year ago

bnomei commented 1 year ago

Originally posted by @iskrisis in https://github.com/getkirby/cli/issues/15#issuecomment-1270154434

I wouldn't be surprised if @bnomei updated https://github.com/bnomei/kirby3-janitor to work with the cli commands. It should be very easy to create general janitor job for these jobs.

i think one could simple call Kirby\CLI\CLI::command('uuid:populate', $args) within a janitor job