Skip to content

Commit

Permalink
add tasks print-env
Browse files Browse the repository at this point in the history
  • Loading branch information
mekanoe committed Sep 4, 2023
1 parent e805a4c commit ad8105c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/tasks/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ async fn main() {
println!("Done!");
}
"migrate" => cmd_migrate().await,
"print-env" => {
std::env::vars().for_each(|(key, value)| println!("{}={}", key, value));
}
_ => {
println!("Unknown command: {}", command);
cmd_help();
Expand Down

0 comments on commit ad8105c

Please sign in to comment.