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

Make path to endpoints.yaml configurable #24

Closed
php-coder opened this issue Oct 12, 2022 · 1 comment
Closed

Make path to endpoints.yaml configurable #24

php-coder opened this issue Oct 12, 2022 · 1 comment
Assignees
Labels
decision Requires making a decision enhancement New feature or request
Milestone

Comments

@php-coder
Copy link
Owner

We shouldn't assume that endpoints.yaml always reside on the same level as the generated sources. It should be possible to generate sources in another directory.

Ways to consider:

  1. always put generated sources into src/
  2. allow to specify a path to endpoints.yaml so the users can do something like this: cd src; query2app ../endpoints.yaml and the source will be generated within a current directory
  3. introduce an option for the directory where to place source code: query2app --dest-dir src or query2app --output-dir src
@php-coder php-coder added the enhancement New feature or request label Oct 12, 2022
@php-coder php-coder added this to the 0.0.3 milestone Oct 12, 2022
php-coder added a commit that referenced this issue Oct 13, 2022
@php-coder php-coder self-assigned this Oct 13, 2022
@php-coder
Copy link
Owner Author

--dest-dir option has been introduced.

@php-coder php-coder added the decision Requires making a decision label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decision Requires making a decision enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant