swift-openapi-generator icon indicating copy to clipboard operation
swift-openapi-generator copied to clipboard

Introduce an "generate-config" command that dumps a default config file

Open czechboy0 opened this issue 2 years ago • 1 comments

Introduce a "generate-config" command that dumps a default config file.

This should emit all the configuration options.

Required ones should have a reasonable value. Optional ones should be commented out, and have their default value there.

With this, the user can more easily uncomment/customize values before digging through docs and the config file syntax.

czechboy0 avatar Dec 08 '23 14:12 czechboy0

Potentially a generate-config rather than init. I think we can keep init for #448

simonjbeaumont avatar Dec 08 '23 14:12 simonjbeaumont