cli: avoid data-dir initialization for version; create db parent dirs; redact generated passwords in CLI output
- Prevent 'nx9-wg version' from creating data directories by avoiding database initialization. - Create parent directories when an explicit --database path is provided. - Redact printed generated administrator passwords; announce file path or redact instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
commit
2ac6c81dfe
140 files changed
+31342
No files matched your search
@@ -0,0 +1,11 @@
|
||||
//! Route, firewall, and network management for nx9-wg.
|
||||
|
||||
pub mod engine;
|
||||
pub mod error;
|
||||
pub mod forwarding;
|
||||
pub mod nftables;
|
||||
|
||||
pub use engine::{NativeLinuxNetworkEngine, NetworkEngine, SimulatedNetworkEngine};
|
||||
pub use error::{NetworkError, Result};
|
||||
pub use forwarding::IpForwardingStatus;
|
||||
pub use nftables::NftablesRulesetBuilder;
|
||||
Reference in new issue
Block a user