gobby-wiki 0.2.0

Gobby wiki CLI shell
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::{CommandOutcome, ScopeSelection, WikiError, audit};

pub(crate) fn execute(selection: ScopeSelection) -> Result<CommandOutcome, WikiError> {
    super::run_analysis_command(
        "audit",
        selection,
        "serialize audit report",
        |root, output_scope| {
            audit::run_with_options(root, output_scope, audit::AuditOptions::from_env())
        },
        audit::render_text,
    )
}