Story

Show HN: Yakari – Interactive TUIs for CLI Tools

vlandeiro Wednesday, December 18, 2024
Show HN: Yakari – Interactive TUIs for CLI Tools

Hi HN!

I wanted to share Yakari, a tool I built to make command-line interfaces more approachable through interactive TUIs. If you've ever forgotten CLI flags or needed to look up command syntax, this might help.

Yakari turns complex commands into interactive menus. Users can navigate through options with simple key presses instead of memorizing complex command structures. If you've used Emacs and Magit (or any other Transient) before, the interface will feel familiar.

Features: - Transform CLIs into guided menus - Create custom menus for any CLI - Support for flags, named parameters, choices, and interactive inputs - Command history and contextual help

You can try it out without installing thanks to uv [1]:

  uvx --from yakari ykr demo # Play with a demo showcasing different argument types
  uvx --from yakari ykr git  # Try the git menu in any git repo
The project is built with Python using Textual and is heavily inspired by Emacs' Transient.

I'd love feedback from both CLI users and developers. What tools would you find most useful to have menus for? How could this make your terminal workflows easier?

[1] https://docs.astral.sh/uv/

17 6
github.com
Visit article Read on Hacker News Comments 6