apigear-io / cli

The ApiGear client as go project
https://apigear.io
MIT License
1 stars 2 forks source link

ensure user editable content is not overridden #101

Closed jryannel closed 11 months ago

jryannel commented 11 months ago

The document force from rules and the user force from command line, needed to have some logic change.

If the document shall not be forced overwritten (default), skip file if the document can be overwritten and same content, skip if document can be overwritten and force is enabled, skip comparison and write