git-outpost 0.1.2

Create self-contained Git outposts from a local repository for editor and devcontainer workflows.
1
2
3
4
5
6
7
8
9
10
use std::process::ExitCode;

use outpost_core::{OutpostError, OutpostResult};

pub type CliResult<T> = OutpostResult<T>;

pub fn report(err: OutpostError) -> ExitCode {
    eprintln!("error: {err}");
    ExitCode::from(err.exit_code())
}