Migrate transformers cli to Typer (#41487)
* Add typer-slim as explicit dependency
* Migrate CLI to Typer
* code quality
* bump release candidate
* adapt test_cli.py
* Remove ./commands + adapt tests
* fix quality
* consistency
* doctested
* do not serve model in chat
* style
* will it fix them?
* fix test
* capitalize classes
* Rebase
* Rebase
* tests + fixup
tests + fixup
* csutom error message
* fix ?
* should be good
* fix caplog globally
* inner caplog
* last attempt
* Retry
* Let's try with capsys disabled
---------
Co-authored-by: Lysandre <hi@lysand.re>