octotui
octotui copied to clipboard
[FEATURE] Default user config option
I think it would be useful to optionally allow a default user to be set, which can be displayed by simply running octotui
with no subcommand. I'm thinking of tools like neofetch and onefetch, which users run to gather information about themselves. The simplest usage for these tools is to run with no additional commands/arguments.
I think this could be stored in a config file like ~/.config/octotui/default-user
. If the file is empty, and no arguments are passed, then the user is instructed to either put something in the file, or use octotui search
. If the file is not empty, then octotui will automatically use the username in that file unless search
is used.
Cool feature, i'll consider this
Thanks! I can make a PR if you want the feature added.
you can