feat(cli): add cli command to recreate credentials admin (#2779)

* feat(cli): add cli command to recreate credentials admin

* fix: add missing username validation

* fix: deepsource issue
This commit is contained in:
Meier Lukas
2025-04-03 23:22:31 +02:00
committed by GitHub
parent f9aeb8ffe3
commit 674253262b
6 changed files with 103 additions and 3 deletions

View File

@@ -1,9 +1,10 @@
import { run } from "@drizzle-team/brocli";
import { fixUsernames } from "./commands/fix-usernames";
import { recreateAdmin } from "./commands/recreate-admin";
import { resetPassword } from "./commands/reset-password";
const commands = [resetPassword, fixUsernames];
const commands = [resetPassword, fixUsernames, recreateAdmin];
void run(commands, {
name: "homarr-cli",