mirror of
https://github.com/denisidoro/navi
synced 2025-02-17 13:08:30 +00:00
Delete docs/config_file.md
This commit is contained in:
parent
212ed34bd7
commit
19ff052223
1 changed files with 0 additions and 37 deletions
|
@ -1,37 +0,0 @@
|
||||||
## Config file
|
|
||||||
|
|
||||||
- [Example](#example)
|
|
||||||
- [Location](#location)
|
|
||||||
- [Creating the file](#creating-the-file)
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
An example config can be found by running:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
navi info config-example
|
|
||||||
```
|
|
||||||
|
|
||||||
You can also read it online by clicking [here](./config_file_example.yaml).
|
|
||||||
|
|
||||||
### Location
|
|
||||||
|
|
||||||
Run the following command to check where the config file is/should be located:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
navi info config-path
|
|
||||||
```
|
|
||||||
|
|
||||||
### Creating the file
|
|
||||||
|
|
||||||
Run the following command to generate a config file with the default parameters:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
navi info config-example > "$(navi info config-path)"
|
|
||||||
```
|
|
||||||
|
|
||||||
### Logging
|
|
||||||
|
|
||||||
The log file will be created under the same directory where the config locates.
|
|
||||||
|
|
||||||
And you can use the `RUST_LOG` env to set the log level, e.g. `RUST_LOG=debug navi`.
|
|
Loading…
Add table
Reference in a new issue