mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-12 14:27:15 +00:00
25 lines
549 B
Rust
25 lines
549 B
Rust
//! This library isn't meant to be published, but used internally by our binary crate `main.rs`.
|
|
|
|
#![warn(missing_docs)]
|
|
|
|
// Macros should be declared before
|
|
pub mod macros;
|
|
|
|
pub mod archive;
|
|
pub mod cli;
|
|
pub mod commands;
|
|
pub mod dialogs;
|
|
pub mod error;
|
|
pub mod extension;
|
|
pub mod utils;
|
|
|
|
/// CLI argparsing definitions, using `clap`.
|
|
pub mod opts;
|
|
|
|
pub use error::{Error, Result};
|
|
pub use opts::{Opts, Subcommand};
|
|
pub use utils::QuestionPolicy;
|
|
|
|
/// The status code returned from `ouch` on error
|
|
pub const EXIT_FAILURE: i32 = libc::EXIT_FAILURE;
|