cli

package
v0.0.0-...-9cf9cea Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserCmd

func AddUserCmd(databaseURLFlagName string, passwordPrompt PasswordPromptInterface, availableRoles []string) *cobra.Command

func NewDefaultPasswordPrompt

func NewDefaultPasswordPrompt() *promptui.Prompt

NewDefaultPasswordPrompt returns the default password prompt used in add-user command.

func SetConfigOptionLogLevel

func SetConfigOptionLogLevel(co *config.ConfigOption) error

func SetupCLI

func SetupCLI(version, gitCommit string) *cobra.Command

Types

type PasswordPromptInterface

type PasswordPromptInterface interface {
	Run() (string, error)
}

Jump to

Keyboard shortcuts

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