-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add a config for default behaviour #156
Comments
what about a dotfile like there i can set all options with like on command line i would also expect only this new commands: order: |
Hey @muescha , thank you very much for your feedback! I really appreciate that. Regarding the order:
Also do you see a valid use case here, having multiple settings? |
i was just thinking in general about commands and their .dotfiles and where i expect it to read from which places and in which order.
you are right we can remove that
maybe in a ci environment or something like this but you are sure i don't know where it is needed |
should the |
@muescha I was also thinking about it and the "issue" I have with it is that this gets not cleaned after uninstalling. The |
but if someone save his ".dotfiles" maybe he like to remember all the pinned files also. so i expect it there and not in a "magic" hidden folder 🤔 |
but i think thats can be done in a different PR and not for this change... sorry for highjacking this PR with the idea |
As a user I would like to set a default behaviour to
brew cu
command. As an example I might wan't to always run it with--all
option.Desired flow:
Config change
Options overview:
brew cu config set KEY VALUE
- sets a certain value to the keybrew cu config reset KEY
- resets certain key to a default statebrew cu config reset
- resets all keys to a default statebrew cu config list
- prints all configsbrew cu --ignore-config
- runningbrew cu
command in a default state (as there are no configs set)Available keys:
auto-update
- if auto-update apps should be updatedlatest
- if "latest" apps should be updatedinteractive
- always run the upgrade as interactiveforce-yes
- always update all the apps (no interaction needed)The text was updated successfully, but these errors were encountered: