File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,21 @@ strikes ls
15
15
You can use the local client without a remote server.
16
16
It will generate a JSON file where the strikes are stored.
17
17
The default path is in your home directory at '.strikes/db.json'.
18
- You can configure a different location by using the '--db_path' argument.
18
+ You can configure a different location by using the '--db_path' argument or by providing a configuration file.
19
+ The argument has precedence over the configuration file.
20
+
21
+ ``` bash
22
+
23
+ # ## Configuration file
24
+ The configuration file needs to be a yaml file.
25
+
26
+ ` ` ` yaml
27
+ db_path: /path/to/db.json
28
+ ` ` `
19
29
20
30
The following command will create a database (db.json) in the current directory.
21
31
22
32
` ` ` bash
23
- strikes --db_path . strike guenther
33
+ strikes --db_path . strike < user >
24
34
` ` `
25
35
You can’t perform that action at this time.
0 commit comments