-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04eadd6
commit c6b6e16
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ Supports Node.js `>=14.0.0`, if you are a Node.js `v12` user refer to `[email protected]. | |
- [Dats Mock](#dats-mock) | ||
- [CLI Interface](#cli-interface) | ||
* [CLI Usage](#cli-usage) | ||
* [datsrc](#datsrc) | ||
* [Pre-compiled binary](#pre-compiled-binary) | ||
- [Benchmarks](#benchmarks) | ||
- [Powered Apps](#powered-apps) | ||
|
@@ -266,13 +267,16 @@ dats --help | |
# | ||
# If unsure of output run the command prepended with `DRY_RUN=1` | ||
``` | ||
|
||
### datsrc | ||
|
||
Every command flag can also be specified in JSON format in the file `.datsrc`, the process at runtime will search it in the current working directory and merge both file config and flags before running! | ||
|
||
```json | ||
{ | ||
"prefix": "my_metric_prefix" | ||
"host": "123.123.123.123", | ||
"port": "1234", | ||
"prefix": "my_metric_prefix" | ||
} | ||
``` | ||
|
||
|