added optional port as argument

This commit is contained in:
2023-03-13 00:35:31 +01:00
parent da5046bfc0
commit 4220467625
3 changed files with 10 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ impl App {
CommandArg::Build => build().await,
CommandArg::Health => health(),
CommandArg::InstallReveal => install_reveal().await,
CommandArg::Serve => serve().await
CommandArg::Serve { port } => serve(port).await
};
}