-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi maintainers,
First off, thanks for the handy CLI tool to interact with Localizely.
localizely-cli -v
localizely-cli version 1.0.8I would like to request a feature which would add the ability to validate the localizely.yml config file. It would check that all the required fields are set. The output wouldn't need to be so complex, just a simple message like when validating a Prometheus config file:
localizely-cli validate localizely.yml # valid file
Checking localizely.yml
SUCCESS: localizely.yml is valid localizely-cli config file syntax
localizely-cli validate localizely.yml # invalid file
Checking localizely.yml
FAILED: required field upload.files missingOn the current version, if you run localizely-cli init, the command simply checks for the existence of the localizely.yml file, but doesn't check if the file is valid. In this case, it would be great if the user is informed and then asked if they want to run localizely-cli init to produce a valid file. This could also be the workflow for other commands like pull which require a valid config file.
Thanks for your consideration on this request.