Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Add flag for config path #537

Open
sashayakovtseva opened this issue Jan 18, 2020 · 0 comments
Open

Add flag for config path #537

sashayakovtseva opened this issue Jan 18, 2020 · 0 comments

Comments

@sashayakovtseva
Copy link

Hi,
One thing which can make prototool even better is custom config path.
In large projects there may be many configs for different tools and it would be extremely convenient to keep them all in a dedicated directory (e.g. configs) rather than cluttering repository's root.

Imagine the following project structure:

repo/
  api/
    api.proto
  cmd/
  configs/
    prototool.yaml
  internal/
  pkg/
  README.md

Working directory is repo root.
The config path flag would be passed like: prototool generate --config configs/prototool.yaml
Prototool should work the same as if the config was in the working directory (i.e. repo root).

Please let me know what you think about this feature request.
P.S. There is a PR open already #519, but it seem to be left without attention.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant