prompt

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompt

type Prompt struct {
	Email  promptui.Prompt
	Token  promptui.Prompt
	Domain promptui.Prompt
	Record promptui.Select
}

func New

func New() *Prompt

func (*Prompt) SetDomain

func (*Prompt) SetDomain(domains []*ker.DomainListResponseItem) (string, error)

func (*Prompt) SetEmail

func (*Prompt) SetEmail() (string, error)

func (*Prompt) SetRecord

func (*Prompt) SetRecord(records []*ker.Record) (*ker.Record, error)

func (*Prompt) SetToken

func (*Prompt) SetToken() (string, error)

Jump to

Keyboard shortcuts

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