doc: --cwd
Massimo Melina committed
May 16, 2023 at 21:43 UTC
cf5050b68f37c33aeb7b30faaa15bfacaf9bf039
1 file changed
+8
-4
README.md
+8
-4
@@ -156,11 +156,15 @@ Configuration can be done in several ways
156
`NAME` stands for the property name that you want to change. See the complete list below.
157
158
### Where is it stored
159
-Configuration is stored in the file `config.yaml`, which is stored in the same folder of `hfs.exe` if you are using this
160
-kind of distribution on Windows, or `USER_FOLDER/.hfs` on other systems.
159
162
-You can decide a different file and location by passing `--config SOME_FILE` at command line, or inside
163
-an *env* called `HFS_CONFIG`. Any relative path provided is relative to the *cwd*.
160
+Configuration is stored in the file `config.yaml`, exception made for custom HTML which is stored in `custom.html`.
161
+
162
+These files are kept in the Current Working Directory (cwd), which is by default the same folder of `hfs.exe`
163
+if you are using this kind of distribution on Windows, or `USER_FOLDER/.hfs` on other systems.
164
+You can decide a different cwd passing `--cwd SOME_FOLDER` parameter at command line.
165
+
166
+You can decide also a different file for config by passing `--config SOME_FILE`, or inside an *env* called `HFS_CONFIG`.
167
+Any relative path provided is relative to the *cwd*.
168
169
[Check details about config file format](https://github.com/rejetto/hfs/blob/main/config.md).
170