TReq icon indicating copy to clipboard operation
TReq copied to clipboard

Add `--https` flag for set default protocol as https if not specified

Open talis-fb opened this issue 1 year ago • 0 comments

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.

talis-fb avatar Feb 19 '24 23:02 talis-fb