bootstrap-admin

command
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package main provides a CLI tool to create the first admin user. This is used during initial deployment to bootstrap the admin system.

Usage:

# Generate a new admin with random API key
./bootstrap-admin -db=$DATABASE_URL [email protected]

# Use a specific API key (e.g., from environment)
./bootstrap-admin -db=$DATABASE_URL [email protected] -api-key=$BOOTSTRAP_ADMIN_KEY

# Or via environment variables
DATABASE_URL=postgres://... [email protected] ./bootstrap-admin

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL