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

Use a default config filename #41

Open
zrhmn opened this issue Apr 11, 2017 · 3 comments · May be fixed by #68
Open

Use a default config filename #41

zrhmn opened this issue Apr 11, 2017 · 3 comments · May be fixed by #68

Comments

@zrhmn
Copy link

zrhmn commented Apr 11, 2017

Forgive me if this is a duplicate.

It would be much appreciated if a default config filename was used, such that, if I have a config file in the root directory, like reflex.conf, I do not have to specify --config='reflex.conf' when invoking reflex. Just running reflex would automatically use my default config. (Maybe also log that reflex.conf was found, and is using that.)

If such a thing has already been implemented, I apologize, I could not find it. Please point me to it.
If such a thing can't/won't be implemented, can we discuss the reasons?

@zrhmn zrhmn changed the title Use a default config Use a default config filename Apr 11, 2017
@cespare
Copy link
Owner

cespare commented May 9, 2018

I'm open to a PR which treats no arguments as -c reflex.conf as a special case.

@alexsanderson
Copy link

alexsanderson commented May 22, 2018

I'll do this is we can have reflex.conf or .reflex ? (as in either present)

@cespare
Copy link
Owner

cespare commented May 22, 2018

I don't like dot-prefixed files, and in general I prefer having one way to do things rather than two ways, so let's stick with just reflex.conf.

@zrhmn zrhmn linked a pull request Dec 3, 2019 that will close this issue
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.

3 participants