Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Default user config option #5

Open
spenserblack opened this issue Apr 13, 2021 · 3 comments
Open

[FEATURE] Default user config option #5

spenserblack opened this issue Apr 13, 2021 · 3 comments

Comments

@spenserblack
Copy link
Contributor

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.

@irevenko
Copy link
Owner

Cool feature, i'll consider this

@spenserblack
Copy link
Contributor Author

Thanks! I can make a PR if you want the feature added.

@irevenko
Copy link
Owner

you can

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants