added optional port as argument
This commit is contained in:
@@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user