Documentation
¶
Index ¶
- Variables
- func Ask(label string) (string, error)
- func AskPassword(label string) (string, error)
- func AskWithSuggests(label string, suggestions []string) (string, error)
- func AskYesOrNot(label string) bool
- func EnsureTagIsValid(tag string) bool
- func LoadContentInCache(key, content string) (string, error)
- func NewCached() (string, error)
- func NewCachedIn(path string) error
- func PrepareToRun(ctx context.Context, options EditorOptions) (func() error, error)
- func RenderTable(header table.Row, rows []table.Row)
- func SetFromFile(filePath string) (data.Set, error)
- func SetsFromDir(path string) ([]data.Set, error)
- type EditorOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPathRequired error = errors.New("path required")
)
Functions ¶
func AskPassword ¶
func AskYesOrNot ¶
func EnsureTagIsValid ¶
func LoadContentInCache ¶
func NewCachedIn ¶
func PrepareToRun ¶
func PrepareToRun(ctx context.Context, options EditorOptions) (func() error, error)
Types ¶
type EditorOptions ¶
Click to show internal directories.
Click to hide internal directories.