Hacker News new | ask | show | jobs
by rochak 546 days ago
Does this work for all CLIs? There is Gooey [1], a similar Python project that works, but only for Python CLIs.

[1]: https://github.com/chriskiehl/Gooey

1 comments

Yes this works for all CLIs but there’s a caveat: yakari requires a TOML configuration file that defines the menu for that CLI. For instance, here’s the definition of the git menu [1].

Gooey is much more automated but limited to Python because it requires adding a decorator to the CLI code.

In other words, yakari is just a command runner with a nice — but apparently confusing — UI.

[1] https://github.com/vlandeiro/yakari-menus/blob/main/git.toml