From 960061584d4db93bbdc0cbb38f78fbec1767e2c1 Mon Sep 17 00:00:00 2001 From: Michael Delaney Date: Wed, 31 Aug 2022 06:03:11 -0700 Subject: [PATCH] Add support for specifying database path using env variable DB_PATH (#78) --- src/cli/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/mod.rs b/src/cli/mod.rs index 73b4dd70..46773ed4 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -122,6 +122,7 @@ pub fn init() { .arg( Arg::new("path") .index(1) + .env("DB_PATH") .required(false) .validator(path_valid) .default_value("memory")