ui

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDirEmpty = errors.New("目录名称不能为空")

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(cfg *pb.Config) *Service

func (*Service) Confirm

func (p *Service) Confirm(label string) bool

func (*Service) Init

func (p *Service) Init()

func (*Service) Prompt

func (p *Service) Prompt(label, def string) string

func (*Service) Save

func (p *Service) Save()

func (*Service) SelectMeta

func (p *Service) SelectMeta() pb.Meta

Jump to

Keyboard shortcuts

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