Skip to content

Add optional styling to more user interface items #5059

@afbjorklund

Description

@afbjorklund

Description

Currently we have two UI elements:

  • Confirm
    func Confirm(message string, defaultParam bool) (bool, error)
  • Select
    func Select(message string, options []string) (int, error)
image

#1881 (comment)

When changing from "survey" to "pterm", we could decorate some more items in the UI such as:

  • Table
    func Table(headers []string, rows [][]string) error
$ _output/bin/limactl list --format=fancy
Image

https://examples.pterm.sh/

WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clilimactl CLI user experienceenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions