gleamunison/cli_result

One process-exit boundary for command results. Domain code returns data; only the CLI decides whether the process has succeeded.

Values

pub fn fail(message: String) -> Nil
pub fn finish(result: Result(Nil, String)) -> Nil
pub fn print(result: Result(String, String)) -> Nil
pub fn success(message: String) -> Result(Nil, String)
✨ Search Document