admincli

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddCommand

func NewAddCommand() *cobra.Command

func NewCopyStaticCommand

func NewCopyStaticCommand() *cobra.Command

func NewRenameCommand

func NewRenameCommand() *cobra.Command

func NewResetPasswordCommand

func NewResetPasswordCommand() *cobra.Command

func NewUserCommand

func NewUserCommand() *cobra.Command

func RunAddUser

func RunAddUser(options AddUserOptions) error

func RunCopyStatic

func RunCopyStatic(options CopyStaticOptions) error

func RunRename

func RunRename(options RenameOptions) error

func RunResetPassword

func RunResetPassword(options ResetPasswordOptions) error

Types

type AddUserOptions

type AddUserOptions struct {
	Name          string
	Password      string
	PasswordStdin bool
	Initialized   bool
}

type CopyStaticOptions

type CopyStaticOptions struct {
	Source      string
	Destination string
}

type RenameOptions

type RenameOptions struct {
	Name    string
	NewName string
}

type ResetPasswordOptions

type ResetPasswordOptions struct {
	Name          string
	Password      string
	PasswordStdin bool
}

Jump to

Keyboard shortcuts

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