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

@@ -15,5 +15,9 @@ pub enum CommandArg {
/// Helper command for installing asciidoctor-reveal-js
InstallReveal,
/// Starts a Webserver with the live preview of the Documentation
Serve
Serve {
/// Port for the Live Server
#[arg(short, long)]
port: Option<u16>
}
}