diff --git a/src/exit_code.rs b/src/exit_code.rs index 9ee70d5..54f6501 100644 --- a/src/exit_code.rs +++ b/src/exit_code.rs @@ -14,4 +14,8 @@ impl ExitCode { pub fn not_found() -> Self { Self { exit_code: 127 } } + + pub fn success() -> Self { + Self { exit_code: 0 } + } }