dbdiagram 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -55,6 +55,21 @@ dbdiagram init --entry schema.dbml --workspace-url myteam --project-url myteam/m
55
55
 
56
56
  ---
57
57
 
58
+ ### Validate
59
+
60
+ Validate a local DBML file and report errors, warnings, and infos.
61
+
62
+ **Options:**
63
+
64
+ - `--json` — Output result as JSON
65
+
66
+ ```sh
67
+ dbdiagram validate schema.dbml # validate a local DBML file
68
+ dbdiagram validate schema.dbml --json # output the result as JSON
69
+ ```
70
+
71
+ ---
72
+
58
73
  ### Push
59
74
 
60
75
  Push a local DBML file to create or update a diagram on dbdiagram.io.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dbdiagram",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "dbdiagram": "dist/index.js"