feat: add CLI commands for user management

Adds subcommands to the binary for admin tasks without needing
the web UI: list users, set passwords, promote/demote roles,
and lock/unlock accounts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2026-04-07 13:37:39 +02:00
commit a456d0096a
5 changed files with 275 additions and 12 deletions

1
go.mod
View file

@ -6,6 +6,7 @@ require (
github.com/google/uuid v1.6.0
github.com/gorilla/feeds v1.2.0
golang.org/x/crypto v0.49.0
golang.org/x/term v0.41.0
modernc.org/sqlite v1.48.0
)