Is there a template you've been using to create CLI tools? #415
Replies: 3 comments 2 replies
-
I've heard positive things about https://github.com/ratatui-org/ratatui, but I don't know if you've ever used it to build anything. |
Beta Was this translation helpful? Give feedback.
-
To see what numbat was built with, take a look at the Cargo.toml file. The most interesting things here are Ratatui is great for certain types of TUIs, but it's not used here for numbat. I personally use ratatui in several of my projects (like procdump for example) and it's great |
Beta Was this translation helpful? Give feedback.
-
Thank you for the feedback. More or less from scratch every time, yes. But you will certainly find a lot of similarities. Libraries that I use, error handling strategy, etc. If you want to see a smaller example, maybe check out https://github.com/sharkdp/hexyl which is not as big as the other projects. |
Beta Was this translation helpful? Give feedback.
-
numbat
,hyperfine
andbat
are all excellent CLI tools. I was wondering if there's some template you've been using as a foundation for each of them, or if you more or less create each terminal application from scratch each time.Beta Was this translation helpful? Give feedback.
All reactions