thelounge/server/command-line
Reto Brunner 21b1152f53 cleaner: expose cli task to do cleaning + vacuum
Make the cleaner available to users by exposing it as a subcommand
to thelounge storage.

This is recommended to be run whenever the storage policy significantly
changes in a way that makes many messages eligible for deletion.
The cleaner would cope, but it'll be inefficient and can take many hours.
Due to how storage works in sqlite, the space would not actually be
given back to the OS, just marked for future writes.
Hence this also runs a vacuum to compact the DB as much as it can.
2023-12-24 16:55:45 +01:00
..
users Fix user commands not working 2022-06-21 10:51:24 +03:00
index.ts cli: Implement storage migrate subcommand 2023-02-27 14:33:34 +01:00
install.ts Fix semver for prerelease versions 2023-06-01 08:03:07 -04:00
outdated.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
start.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
storage.ts cleaner: expose cli task to do cleaning + vacuum 2023-12-24 16:55:45 +01:00
uninstall.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
upgrade.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
utils.ts cli: don't fail if stderr is not in json format 2023-12-13 22:55:53 +01:00