add rotate server secret command

This commit is contained in:
miloschwartz
2025-12-17 16:23:11 -05:00
parent 443b53ee37
commit a5b203af27
2 changed files with 286 additions and 0 deletions

View File

@@ -5,11 +5,13 @@ import { hideBin } from "yargs/helpers";
import { setAdminCredentials } from "@cli/commands/setAdminCredentials";
import { resetUserSecurityKeys } from "@cli/commands/resetUserSecurityKeys";
import { clearExitNodes } from "./commands/clearExitNodes";
import { rotateServerSecret } from "./commands/rotateServerSecret";
yargs(hideBin(process.argv))
.scriptName("pangctl")
.command(setAdminCredentials)
.command(resetUserSecurityKeys)
.command(clearExitNodes)
.command(rotateServerSecret)
.demandCommand()
.help().argv;