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 authored and GitHub committed 2025-04-03 23:22:31 +02:00
1 parent f9aeb8ffe3
commit 674253262b
6 files changed
+103 -3

No files matched your search

+2 -1
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",