provenance-cli 0.2.3

Command-line interface for Provenance requirements traceability
1
2
3
4
5
6
7
8
9
use crate::cli::workspace::DocsCommand;

pub(super) async fn handle(command: DocsCommand) -> anyhow::Result<()> {
    match command {
        DocsCommand::Check { repo, format } => crate::docs::check(&repo, format)?,
        DocsCommand::Serve { repo, host, port } => crate::docs::serve(repo, host, port).await?,
    }
    Ok(())
}