MatthiasMargot / typegen

Generate source-code types from a swagger-specification file
MIT License
1 stars 1 forks source link

Set the default pathToDestination for cli #12

Closed boobo94 closed 3 years ago

MatthiasMargot commented 3 years ago

I'm wondering if this would make it less likely for people to realise that a path can be provided to this tool 🤔

If you give it a default, someone might never try to do it with a custom path. I'm not sure there should be a default for this.

boobo94 commented 3 years ago

I'm wondering if this would make it less likely for people to realise that a path can be provided to this tool 🤔

If you give it a default, someone might never try to do it with a custom path. I'm not sure there should be a default for this.

I agree with you, but I was too lazy to write that much. And I don't care where the output is, I just want the file and decide later. Dunno. You can drop this

MatthiasMargot commented 3 years ago

Dropping this for now, maybe we can reconsider the default API of this some time