Skip to main content

hyperlane_cli/
lib.rs

1//! hyperlane-cli
2//!
3//! A command-line tool for Hyperlane framework.
4mod command;
5mod config;
6mod help;
7mod logger;
8mod new;
9mod template;
10#[cfg(test)]
11#[path = "../tests/mod.rs"]
12mod tests;
13mod version;
14mod watch;
15
16pub use {command::*, config::*, help::*, logger::*, new::*, template::*, version::*, watch::*};
17
18pub(crate) use std::{
19    env::args,
20    fmt::Arguments,
21    io,
22    path::{Path, PathBuf},
23    process::{Output, Stdio},
24    str::FromStr,
25};
26
27pub(crate) use {
28    log::SetLoggerError,
29    lombok_macros::*,
30    notify::{Event, EventKind, RecommendedWatcher, RecursiveMode, Watcher, recommended_watcher},
31    std::ffi::OsStr,
32    tokio::{
33        fs::{create_dir_all, write},
34        process::Command,
35        sync::watch::{Receiver, Sender, channel},
36        time::{Duration, Interval, interval, sleep},
37    },
38};