Add support for specifying database path using env variable DB_PATH (#78)
This commit is contained in:
parent
a9c6806745
commit
960061584d
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ pub fn init() {
|
|||
.arg(
|
||||
Arg::new("path")
|
||||
.index(1)
|
||||
.env("DB_PATH")
|
||||
.required(false)
|
||||
.validator(path_valid)
|
||||
.default_value("memory")
|
||||
|
|
Loading…
Reference in a new issue