Skip to content

Add `param_decls` and `is_flag` to `ts.option`.

This MR allows to change param_decls, the names of a click parameter, and is_flag, a bool to declare flags which enables

  • short handles for parameters like -x/--exitfirst from pytest.
  • flags without an off-switch like --opt and --no-opt raises an error.
Edited by Stefan Scherfke

Merge request reports

Loading