Log release/dev mode
This commit is contained in:
parent
68a3b8e7a4
commit
c3abd38aa8
|
@ -42,6 +42,12 @@ async fn main() {
|
|||
)
|
||||
.get_matches();
|
||||
|
||||
if cfg!(release) {
|
||||
info!("Running in release mode");
|
||||
} else {
|
||||
info!("Running in dev mode");
|
||||
}
|
||||
|
||||
match matches.subcommand() {
|
||||
Some(("gen", _)) => {
|
||||
let _ = generate().await;
|
||||
|
|
Loading…
Reference in New Issue