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

basti: Store configuration in ~/.basti #59

Open
bobveringa opened this issue Aug 1, 2023 · 2 comments
Open

basti: Store configuration in ~/.basti #59

bobveringa opened this issue Aug 1, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@bobveringa
Copy link
Contributor

Feature Description

Basti currently searches for a configuration file in your current working directory up to your home directory. This is great, however sometimes when you are using basti in directories above or outside the home directory it cannot find a configuration file. The solution for this would be to always check the home directory.

This could be in a .basti directory as this also allows other information related to basti to be stored here as well as leaving room for more features in the future. The other option is to just always check for .basti.yml (or json) files in the home directory.

@bobveringa bobveringa added the enhancement New feature or request label Aug 1, 2023
@bobveringa bobveringa changed the title Store configuration in ~/.basti basti: Store configuration in ~/.basti Aug 1, 2023
@bobveringa
Copy link
Contributor Author

In #62 a use case is described where the .basti directory is used.

@BohdanPetryshyn
Copy link
Collaborator

BohdanPetryshyn commented Aug 2, 2023

Good idea! Thank you @bobveringa!

I'd start with the second option and add the dedicated directory later as needed.

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

No branches or pull requests

2 participants