| command | what it does |
|---|
cms / cms run | start the server (default command) |
cms create-admin | create an administrator (asks login + password) |
cms passwd | change a user's password |
cms reload | hot-reload settings.json and templates via ./cms.sock |
cms install | register as a systemd service: writes /etc/systemd/system/cmsnap.service for the current binary and directory, enables and starts it (requires root; systemctl reload cmsnap maps to hot reload) |
cms uninstall | stop, disable and remove the systemd service (requires root) |
cms def-help | factory reset: recreate settings.json, hbs/, static/ and the databases, seed the docs, create admin with a generated password, start the server |
-l, --log | log level, e.g. debug or cms=debug,ntex=warn |