Log release/dev mode

This commit is contained in:
Shadowfacts 2023-01-06 00:17:41 -05:00
parent 68a3b8e7a4
commit c3abd38aa8
1 changed files with 6 additions and 0 deletions

View File

@ -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;