In reply to Alois.

Absolutely correct. Syntax checking for CLI is definitely a challenge for legacy interfaces that lack a data model schema that can be validated against. In those cases, the best solution is thorough testing of templates in non-production environments, and strict adherence to those templates.