the-codegen-project / cli

Simplify your implementation in any language when using standards such as AsyncAPI
https://the-codegen-project.netlify.app/
Apache License 2.0
17 stars 0 forks source link

Add the possibility to specify where the config is #108

Closed ALagoni97 closed 1 month ago

ALagoni97 commented 1 month ago

It would be nice if we can specify at which relative path the config file is present. codegen generate --config="./config/codegen" or something like this.

jonaslagoni commented 1 month ago

You should be able to do: codegen generate ./config/codegen

https://github.com/the-codegen-project/cli/blob/main/docs/usage.md#codegen-generate-file