-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLI] Show progress when generating entity files #722
Comments
Hello, I am interested in this issue. |
Hey @kyoto7250, thanks for the interest! I think there are two things we need to code. First, log the table name and its column info of the generating entity.
Second, print log of log level
|
* feat(sea-orm-cli): output lof about generated file name. #722 * include column names in info * cargo fmt * Update sea-orm-cli/src/commands.rs Avoid multiple initializations Co-authored-by: Billy Chan <[email protected]> * show info per column * refactor: use write! macro * Refactoring Co-authored-by: Billy Chan <[email protected]>
Motivation
The
sea-orm-cli generate entity
command doesn't show its progress such as which entity (db table) it's generating. Some time when it fail, user have no idea which db table is at fault and making it hard to debug.Proposed Solutions
Additional Information
The text was updated successfully, but these errors were encountered: