user

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package user implements `admin user` subcommands.

Package user is the `admin user` subcommand tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdUser

func NewCmdUser(f *factory.Factory) *cobra.Command

NewCmdUser builds the `admin user` command tree.

func NewCmdUserActivate

func NewCmdUserActivate(f *factory.Factory, runF func(*ActivateOptions) error) *cobra.Command

NewCmdUserActivate builds the `admin user activate` cobra command.

func NewCmdUserDeactivate

func NewCmdUserDeactivate(f *factory.Factory, runF func(*DeactivateOptions) error) *cobra.Command

NewCmdUserDeactivate builds the `admin user deactivate` cobra command.

func NewCmdUserList

func NewCmdUserList(f *factory.Factory, runF func(*ListOptions) error) *cobra.Command

NewCmdUserList builds the `admin user list` cobra command.

func NewCmdUserRename

func NewCmdUserRename(f *factory.Factory, runF func(*RenameOptions) error) *cobra.Command

NewCmdUserRename builds the `admin user rename` cobra command.

Types

type ActivateOptions

type ActivateOptions struct {
	Hostname string
	Slug     string
}

ActivateOptions holds parsed flags for `admin user activate`.

type DeactivateOptions

type DeactivateOptions struct {
	Hostname string
	Slug     string
}

DeactivateOptions holds parsed flags for `admin user deactivate`.

type ListOptions

type ListOptions struct {
	Hostname string
	Filter   string
	Limit    int
	JSON     bool
}

ListOptions holds parsed flags for `admin user list`.

type RenameOptions

type RenameOptions struct {
	Hostname string
	OldSlug  string
	NewSlug  string
}

RenameOptions holds parsed flags for `admin user rename`.

Jump to

Keyboard shortcuts

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