2 different yml file at root of repository #845
Answered
by
djbe
tranvutuan
asked this question in
Q&A
-
Im curious if we can put 2 different yml files at the same root level so that we can load a different config for each target.
|
Beta Was this translation helpful? Give feedback.
Answered by
djbe
Jun 4, 2021
Replies: 1 comment 4 replies
-
Nothing is stopping you from doing that. We specifically have a CLI option to provide the path to a config file: swiftgen config run --config=swiftgen1.yml
swiftgen config run --config=swiftgen2.yml Just make sure that the output paths (in each config) are different, otherwise the commands will overwrite each other. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
tranvutuan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nothing is stopping you from doing that. We specifically have a CLI option to provide the path to a config file:
Just make sure that the output paths (in each config) are different, otherwise the commands will overwrite each other.