1mod command;
5mod config;
6mod fmt;
7mod help;
8mod logger;
9mod new;
10mod template;
11mod version;
12mod watch;
13
14#[cfg(test)]
15#[path = "../tests/mod.rs"]
16mod tests;
17
18pub use {
19 command::*, config::*, fmt::*, help::*, logger::*, new::*, template::*, version::*, watch::*,
20};
21
22pub(crate) use std::{
23 env::args,
24 ffi::OsStr,
25 fmt::Arguments,
26 fs::{self, DirEntry},
27 io::{self, ErrorKind},
28 path::{Component, Components, Path, PathBuf},
29 process::{Output, Stdio},
30 str::FromStr,
31};
32
33pub(crate) use {
34 crate_cli::{UnifiedFmtReport, execute_unified_fmt, format_workspace_text_files},
35 log::{
36 Level, LevelFilter, Metadata, Record, SetLoggerError, max_level, set_logger, set_max_level,
37 },
38 lombok_macros::*,
39 notify::{
40 Error, Event, EventKind, RecommendedWatcher, RecursiveMode, Watcher, recommended_watcher,
41 },
42 tokio::{
43 fs::{canonicalize, create_dir_all, write},
44 process::{Child, Command},
45 sync::watch::{Receiver, Sender, channel, error::SendError},
46 time::{Duration, Interval, interval, sleep},
47 },
48};