harmont_cli/lib.rs
1#![allow(
2 clippy::multiple_crate_versions,
3 reason = "transitive dependency version conflicts in rand/windows-sys/thiserror chains; not fixable without upstream updates"
4)]
5// The `dirs` crate must NOT be added as a direct dependency of this
6// crate. All directory resolution goes through `hm_util::dirs`, which
7// owns the `dirs` dependency and provides both platform primitives and
8// Harmont-specific discovery. Adding `dirs` here would bypass that
9// single source of truth.
10
11#[allow(
12 clippy::print_stdout,
13 clippy::print_stderr,
14 reason = "CLI subcommand handlers are the intended user-facing output sites"
15)]
16pub mod cli;
17pub mod commands;
18/// Re-export of the shared [`hm_config`] crate under the historical
19/// `harmont_cli::config` path so existing consumers and integration tests
20/// keep resolving. The layered config + credential store now live in
21/// `hm-config` so `hm-plugin-cloud` can share them.
22pub use hm_config as config;
23/// Re-export the credential store under the historical
24/// `harmont_cli::creds_store` path.
25pub use hm_config::creds as creds_store;
26pub mod context;
27pub mod error;
28pub(crate) mod signal;