feat: add --profile flag for har2case to support overwrite headers/cookies with specified yaml/json profile file

This commit is contained in:
debugtalk
2022-03-26 10:44:19 +08:00
parent d3b3b80d17
commit a5f7eea9c3
16 changed files with 190 additions and 1136 deletions

View File

@@ -15,6 +15,7 @@ hrp har2case $har_path... [flags]
```
-h, --help help for har2case
-d, --output-dir string specify output directory, default to the same dir with har file
-p, --profile string specify profile path to override headers and cookies
-j, --to-json convert to JSON format (default true)
-y, --to-yaml convert to YAML format
```
@@ -23,4 +24,4 @@ hrp har2case $har_path... [flags]
* [hrp](hrp.md) - One-stop solution for HTTP(S) testing.
###### Auto generated by spf13/cobra on 23-Mar-2022
###### Auto generated by spf13/cobra on 26-Mar-2022