Skip to content

Commit

Permalink
sea-orm-cli --verbose (SeaQL/sea-orm#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Sep 17, 2021
1 parent 26a17d9 commit be8a1c9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions SeaORM/docs/03-generate-entity/01-sea-orm-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ $ sea-orm-cli generate -h
$ sea-orm-cli generate entity -h
```

## Enabling Verbose Mode

Use `-v` flag on any CLI command or subcommand to print debug messages.

```shell
# Print debug messages of `generate entity` subcommand
$ sea-orm-cli generate entity \
-u sql://sea:sea@localhost/bakery \
-o src/entity
-v
```

## Generating Entity Files

Discover all tables in a database and generate corresponding SeaORM entity file for each table.
Expand Down

0 comments on commit be8a1c9

Please sign in to comment.