Commit Graph

7 Commits

Author SHA1 Message Date
Albert S. 622ef5af6a Database: PageDao/CategoryDao: Return 'Page' object, not pagename string 2022-04-03 11:15:02 +02:00
Albert S. 017932e673 Fix -wreturn-type warnings 2021-10-25 18:13:25 +02:00
Albert S. 6304554358 Add [[maybe_unused]] to silence unhelpful warnings 2021-10-25 17:56:37 +02:00
Albert S. 420e541e75 CLI: Implement category delete,show,list 2021-10-12 20:02:43 +02:00
Albert S. b59e81a41d CLI: Begin 'page' and 'pageperms' commands 2021-10-05 21:57:20 +02:00
Albert S. 94ade7238e CLI: Add 'version' command 2021-10-03 23:04:46 +02:00
Albert S. 3d0fce590b Introduce CLI
main: Parse args using getopt_long() in main().

Begin implementation of a CLI. It can be launched
using ./qswiki config --cli.

Allow connecting to another instance using "attach" command.
This uses Unix domain sockets, and in the future can be used
to drop caches, reload template, etc.

Closes: #21
2021-10-03 17:05:46 +02:00