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