feat: add --json flag to validate/inspect CLI and switch tests to exhaustive variants
Add `--json` CLI flag for both `validate` and `inspect` subcommands, enabling raw JSON output via `r.toJson().pretty()` instead of formatted report. Update Makefile test targets to use `test_json_exhaustive`, `test_yaml_exhaustive`, and `test_toml_exhaustive` test files. Extend `.gitignore` to exclude the new exhaustive test binaries. Revise README with version header, table of contents, and restructured documentation.
This commit is contained in:
@@ -52,13 +52,13 @@ test-jinja:
|
||||
$(NIMC) -r $(TEST_DIR)/test_jinja.nim
|
||||
|
||||
test-json:
|
||||
$(NIMC) -r $(TEST_DIR)/test_json.nim
|
||||
$(NIMC) -r $(TEST_DIR)/test_json_exhaustive.nim
|
||||
|
||||
test-yaml:
|
||||
$(NIMC) -r $(TEST_DIR)/test_yaml.nim
|
||||
$(NIMC) -r $(TEST_DIR)/test_yaml_exhaustive.nim
|
||||
|
||||
test-toml:
|
||||
$(NIMC) -r $(TEST_DIR)/test_toml.nim
|
||||
$(NIMC) -r $(TEST_DIR)/test_toml_exhaustive.nim
|
||||
|
||||
test-mixed:
|
||||
$(NIMC) -r $(TEST_DIR)/test_mixed.nim
|
||||
|
||||
Reference in New Issue
Block a user