Skip to main content

brush_interactive/
lib.rs

1//! Library implementing interactive command input and completion for the brush shell.
2
3mod error;
4pub use error::ShellError;
5
6mod interactive_shell;
7pub use interactive_shell::{InteractiveExecutionResult, InteractiveOptions, InteractiveShell};
8
9mod input_backend;
10pub use input_backend::{InputBackend, InteractivePrompt, ReadResult};
11
12mod options;
13pub use options::UIOptions;
14
15mod refs;
16pub use refs::ShellRef;
17
18mod term_detection;
19mod term_integration;
20mod trace_categories;
21
22#[cfg(feature = "highlighting")]
23pub mod highlighting;
24
25#[cfg(feature = "completion")]
26mod completion;
27
28// Reedline-based shell
29#[cfg(feature = "reedline")]
30mod reedline;
31#[cfg(feature = "reedline")]
32pub use reedline::ReedlineInputBackend;
33
34// Basic shell
35#[cfg(feature = "basic")]
36mod basic;
37#[cfg(feature = "basic")]
38pub use basic::BasicInputBackend;
39
40// Minimal shell
41#[cfg(feature = "minimal")]
42mod minimal;
43#[cfg(feature = "minimal")]
44pub use minimal::MinimalInputBackend;