gobby-wiki 0.8.0

Gobby wiki CLI shell
1
2
3
4
5
6
7
8
9
use crate::{Command, CommandOutcome, RunOptions, 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, options: RunOptions) -> Result<CommandOutcome, WikiError> {
    commands::run(command, options)
}