Skip to content

Commit 56847d8

Browse files
authored
doc: add CLI "format" command (#510)
* doc: release 3.0.0-beta.24 * update CLI reference
1 parent 1b3ccfc commit 56847d8

File tree

1 file changed

+15
-0
lines changed
  • versioned_docs/version-3.x/reference

1 file changed

+15
-0
lines changed

versioned_docs/version-3.x/reference/cli.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,21 @@ Options:
245245
-h, --help display help for command
246246
```
247247

248+
### format
249+
250+
Format a ZModel schema file.
251+
252+
```bash
253+
Usage: zen format [options]
254+
255+
Format a ZModel schema file.
256+
257+
Options:
258+
--schema <file> schema file (with extension .zmodel). Defaults to "zenstack/schema.zmodel" unless
259+
specified in package.json.
260+
-h, --help display help for command
261+
```
262+
248263
## Overriding Default Options
249264

250265
### Default Schema Location

0 commit comments

Comments
 (0)