metal-cli icon indicating copy to clipboard operation
metal-cli copied to clipboard

Improve the UX with a CLI TUI

Open displague opened this issue 2 years ago • 1 comments

What problem are you facing?

Metal CLI has a few CLI nice-to-haves:

  • table output
  • autocompletion helpers
  • generated documentation
  • rich and consistent env -> arg -> configfile configuration options
  • multiple output formats

TUI libraries give CLIs access to more UX improvements.

A few issues have previously discussed the benefits we would like to have in Metal CLI and those available in TUI libraries:

  • #52
  • #399

This issue is to track interest in TUIs and prevent TUI conversations from distracting from UX improvements that can be had without taking the TUI route. TUIs come with their own pros and cons and are not a requirement for have nice things.

How could the Equinix Metal CLI help solve this problem?

Take advantage of a TUI library to improve the UX and simplify development and support of those UX features.

displague avatar Feb 07 '24 13:02 displague

@adammohammed had good things to say about https://github.com/charmbracelet/bubbletea

displague avatar Feb 07 '24 13:02 displague