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

Test that dexy.yaml files work as described. #1

Open
ananelson opened this Issue Nov 11, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@ananelson
Copy link
Member

ananelson commented Nov 11, 2013

You probably only need one dexy.yaml file in your project root, but you can place dexy.yaml files in subdirectories where they will apply only to that subdirectory and its children. The recurse option to the dexy command must be set in order for dexy.yaml files in subdirectories to be loaded.

@DaveDixon

This comment has been minimized.

Copy link

DaveDixon commented Nov 15, 2014

dexy help -on dexy lists the argument "configs". The documentation says "dexy --configs" will take a list of config files to parse. With no dexy.yaml file in the directory, "dexy --configs" it says there are no config files. With dexy.yaml in the directory, "dexy --configs" parses dexy.yaml. If another name is passed, ""dexy --configs mydexy.yaml", it says there are no config files. Is this correct?

"dexy help --all" does not list "configs", btw.

@ananelson

This comment has been minimized.

Copy link
Member

ananelson commented Nov 18, 2014

Hi, @DaveDixon,

If you run dexy --configs without passing any argument, then you are setting the list of configuration files to be empty, so any files named dexy.yaml will no longer be recognized and the project will have no configuration files available. If you run dexy --configs mydexy.yaml and you don't have a mydexy.yaml file in the project, then it's correct that there are no config files. So yes, the behavior you have described here is correct. If you do have a file named mydexy.yaml and you are unable to use the --configs flag to tell dexy to recognize it, then please open a new issue on the dexy project itself.

--configs is a command line argument to the dexy command, not a separate command. dexy help --all and dexy help list available commands, not arguments to individual commands.

Finally, please open separate issues rather than adding to an existing one unless you are +1 ing a specific issue which you are sure is identical.

Thanks!
-Ana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment