Documentation ¶
Index ¶
- func Ask(ctx context.Context, title, description, placeholder string) (string, error)
- func AskSecret(ctx context.Context, title, desc, placeholder string) ([]byte, error)
- func ListSelect[V list.DefaultItem](ctx context.Context, title string, items []V) (list.DefaultItem, error)
- func SelectTable(ctx context.Context, cols []table.Column, rows []table.Row) (table.Row, error)
- func StaticTable(ctx context.Context, cols []table.Column, rows []table.Row) error
- func Table(ctx context.Context, cols []table.Column, rows []table.Row, selectRow bool) (table.Row, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListSelect ¶ added in v0.0.168
func ListSelect[V list.DefaultItem](ctx context.Context, title string, items []V) (list.DefaultItem, error)
func SelectTable ¶ added in v0.0.168
func StaticTable ¶ added in v0.0.168
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.