TUI for Tokei #1004
Embers-of-the-Fire
started this conversation in
Ideas
TUI for Tokei
#1004
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TUI for Tokei
Inspired by Issue #969, I am considering creating a TUI feature for Tokei. Therefore, I created this discussion to talk about whether it is necessary and what it should look like.
Why do we need a TUI?
Sometimes we need to browse through code statistics for multiple projects and files. However, running Tokei for each project or file can be cumbersome and pointless. That's why I'm considering creating a TUI feature to serve this purpose.
Some initial ideas
Main goals of the service
I believe that this TUI should be designed as a simplified version of Tokei. Therefore, my main goals for its functionality are:
.tokeignore
in folders or projects.Input parameters
As a TUI, I don't think there should be a lot of preset parameters entered within the interface itself. My idea is to add a flag on top of the existing command-line interface for Tokei to launch the TUI so that only one parameter needs to be entered.
Interface design
I currently have a draft layout for the interface that looks something like this:
Conclusion
Tokei is a great tool and it deserves a great community. If you have any feedback on this proposal, please feel free to suggest it. I will try to implement all functions as much as possible, but it may also require the help of others.
Beta Was this translation helpful? Give feedback.
All reactions