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
20 /// CLI argparsing definitions, using `clap`.
23 pub use error::{Error, Result};
24 pub use opts::{Opts, Subcommand};
25 pub use utils::QuestionPolicy;
27 /// The status code returned from `ouch` on error
28 pub const EXIT_FAILURE: i32 = libc::EXIT_FAILURE;