cli

package
v0.0.0-...-bcab678 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PasswordReset

func PasswordReset[T any](context func(ctx *cli.CommandContext) (*PasswordResetContext[T], error)) *cli.Command

Types

type PasswordResetContext

type PasswordResetContext[T any] struct {
	// contains filtered or unexported fields
}

func NewPasswordResetContext

func NewPasswordResetContext[T any](
	findUser func(account string) (user T, err error),
	setPassword func(model T, password string) error,
) *PasswordResetContext[T]

Jump to

Keyboard shortcuts

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