1 //! This library is just meant to supply needs for the `ouch` binary crate.
4 // Bare URLs in doc comments are not a problem since this project is primarily
5 // used as a binary. Since `clap` doesn't remove URL markup in it's help output,
6 // we don't mark them as URLs. This suppresses the relevant rustdoc warning:
7 #![allow(rustdoc::bare_urls)]
9 // Macros should be declared before
21 /// CLI argparsing definitions, using `clap`.
24 pub use error::{Error, Result};
25 pub use opts::{Opts, Subcommand};
26 pub use utils::QuestionPolicy;
28 /// The status code returned from `ouch` on error
29 pub const EXIT_FAILURE: i32 = libc::EXIT_FAILURE;