gobby-wiki 0.7.0

Gobby wiki CLI shell
1
2
3
4
5
6
7
8
9
use crate::{Command, CommandOutcome, WikiError, commands};

/// Execute a parsed `gwiki` command through the public library boundary.
///
/// This passthrough is intentionally thin so embedders exercise the same
/// command dispatch path as the CLI binary.
pub fn run(command: Command) -> Result<CommandOutcome, WikiError> {
    commands::run(command)
}