dbdiagram 0.1.0 → 0.1.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.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,11 +5,11 @@ A CLI tool for dbdiagram.io.
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install -g dbdiagram
|
|
8
|
+
npm install -g dbdiagram
|
|
9
9
|
# or
|
|
10
|
-
yarn global add dbdiagram
|
|
10
|
+
yarn global add dbdiagram
|
|
11
11
|
# or
|
|
12
|
-
pnpm add -g dbdiagram
|
|
12
|
+
pnpm add -g dbdiagram
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
@@ -83,11 +83,11 @@ Pull DBML content from a diagram on dbdiagram.io.
|
|
|
83
83
|
**Options:**
|
|
84
84
|
|
|
85
85
|
- `--diagram-id <id>` — The diagram to pull from
|
|
86
|
-
- `-o, --out-file <filepath>` — Save to a file
|
|
86
|
+
- `-o, --out-file <filepath>` — Save to a file (omit to use the configured entry file from settings, or print to stdout)
|
|
87
87
|
|
|
88
88
|
```sh
|
|
89
|
-
dbdiagram pull --diagram-id <id> # print
|
|
90
|
-
dbdiagram pull --diagram-id <id> -o schema.dbml # save to file
|
|
89
|
+
dbdiagram pull --diagram-id <id> # print to stdout (or save to the configured entry file)
|
|
90
|
+
dbdiagram pull --diagram-id <id> -o schema.dbml # save to a specific file
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
---
|