ellisv / oxid-console

[UNMAINTAINED] OXID Console is php console application for OXID Shop. It provides an API for writing various commands. We have shipped very common for every oxid shop project commands out of the box.
MIT License
23 stars 17 forks source link

disable view usage when updating views #38

Closed keywan-ghadami-oxid closed 8 years ago

keywan-ghadami-oxid commented 8 years ago

avoid problems if views are already broken

ellisv commented 8 years ago

Hey @keywan-ghadami-oxid long time no see. Glad to see you contributing again.

What about showing just an error message when executing update views command if blViewUsage option is set to false with a help notice to execute the same command with --force flag if you really want to update views?

keywan-ghadami-oxid commented 8 years ago

Hi @EllisV,

a force option would not harm, but according to "KISS" and "YAGNI", i would disagree with an extra option because i do not see benefit of running update views without that "disable views" option.