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 []Column, rows []Row) (table.Row, error)
- func StaticTable(ctx context.Context, cols []Column, rows []Row) error
- func Table(ctx context.Context, cols []Column, rows []Row, selectRow bool) (table.Row, error)
- type Column
- type ColumnKey
- type Row
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 ¶
Click to show internal directories.
Click to hide internal directories.