From 20afcd2b633791c932651e04e340334dabb3ed4e Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Thu, 12 Oct 2023 23:13:50 +0200 Subject: Add commands to print the default configuration (#1241) * Add commands to print the default configuration When updating a software I often want to compare my configuration with the configuration of the new version. To make this possible atuin can now print the default configuration. This also updates the example files with the actual values used as default in the settings.rs files. * Changed command name to 'default-config' * Fixed merge --- atuin-server/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'atuin-server/src/lib.rs') diff --git a/atuin-server/src/lib.rs b/atuin-server/src/lib.rs index 810b7db9..007ad5c9 100644 --- a/atuin-server/src/lib.rs +++ b/atuin-server/src/lib.rs @@ -14,6 +14,7 @@ mod router; mod settings; mod utils; +pub use settings::example_config; pub use settings::Settings; use tokio::signal; -- cgit v1.3.1