bush 0.2.0

A tree command substitute that respects .gitignore, .dockerignore, .npmignore and other ignore-file formats
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Documented exit code constants.
//!
//! - `SUCCESS` (0): the run completed without error
//! - `ERROR` (1): an `anyhow::Error` was returned (config invalid, path missing,
//!   filesystem error, etc.)
//! - `CLAP_ERROR` (2): the CLI parser rejected the invocation; clap handles
//!   this exit code itself, listed here for documentation only
//! - `INTERRUPTED` (130): the process was interrupted by SIGINT (Ctrl-C)

pub const SUCCESS: i32 = 0;
pub const ERROR: i32 = 1;
#[allow(dead_code)]
pub const CLAP_ERROR: i32 = 2;
pub const INTERRUPTED: i32 = 130;