bigcommerce / widget-builder

MIT License
18 stars 39 forks source link

Correct validate command options #95

Open darrenbelding opened 2 years ago

darrenbelding commented 2 years ago

What? Why? The current usage and options for the validate command do not run. This PR corrects these and allows for the command to be run from parent directories. Issue reported as a comment here: #90

Testing / Proof A test environment is available on the test-fix-validate-command-options branch of the Space48 fork. The following commands have been tested with valid and invalid schemas:

widget-builder validate --schema test-widget widget-builder validate --query-params test-widget widget-builder validate --translation test-widget