Skip to content

Commit

Permalink
docs: update docs for cli, env
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed May 30, 2022
1 parent 7263adb commit a17a14d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,25 @@ Currently supported data sources:
- Project: https://github.com/AdguardTeam/AdGuardSDNSFilter/
- file: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt

## CLI && ENV

CLI parameters:

```bash
--debug enable debug mode
--port int web port (default 8345)
```

usage: `./hbh --port=8345 --debug=false`

Env variables:

```bash
HBH_DEBUG=true
HBH_PORT=1024
```

usage: `HBH_DEBUG=true HBH_PORT=1024 ./hbh`

## APIs && Pages

Expand Down

0 comments on commit a17a14d

Please sign in to comment.