2025-02-03 22:17:30 +01:00
|
|
|
# HIGurke
|
|
|
|
|
2025-02-04 00:40:08 +01:00
|
|
|
## Generate Seaography entities
|
|
|
|
|
|
|
|
```console
|
|
|
|
# List all available commands
|
|
|
|
sea-orm-cli -h
|
|
|
|
|
|
|
|
# List all subcommands available in `generate` command
|
|
|
|
sea-orm-cli generate -h
|
|
|
|
|
|
|
|
# Show how to use `generate entity` subcommand
|
|
|
|
sea-orm-cli generate entity -h
|
|
|
|
|
|
|
|
# Generate Seaography entities
|
2025-02-05 16:38:56 +01:00
|
|
|
sea-orm-cli generate entity --output-dir ./database/src/entity/ --with-serde both --with-copy-enums
|
2025-02-04 00:40:08 +01:00
|
|
|
```
|