TReq
TReq copied to clipboard
Add `--https` flag for set default protocol as https if not specified
Additional Considerations:
If not exist, in CliInput add a bool field for this and use it for implementation.
There are two possible ways to do that then:
- Add a input validator. The validator should check the https field and updating the Url string for adding this protocol (if not yet).
- In parse_inputs_to_request_data you can add in final of function a step for check this field in CliInput and set the protocol in RequestData if it is None.