{"library":"cli-exit-tools","type":"library","category":null,"description":"cli-exit-tools (v1.2.7) is an actively maintained Python library designed to facilitate the proper and controlled exiting of command-line interface (CLI) applications. It provides functionalities to print formatted exception messages, optionally include traceback information, retrieve appropriate exit codes from exceptions, and ensure output streams are flushed correctly before termination. The library targets Python 3.8 and newer, with a focus on robust error handling for CLI tools.","language":"python","status":"active","version":"1.2.7","tags":["cli","exit","error handling","traceback","command-line","utility"],"last_verified":"Thu May 21","install":[{"cmd":"pip install cli-exit-tools","imports":["from cli_exit_tools import cli_exit_tools"]}],"homepage":null,"github":"https://github.com/bitranox/cli_exit_tools","docs":"https://github.com/bitranox/cli_exit_tools/blob/master/README.rst","changelog":"https://github.com/bitranox/cli_exit_tools/blob/master/CHANGES.rst","pypi":"https://pypi.org/project/cli-exit-tools/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.8,"avg_import_s":0.03,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/cli-exit-tools/compatibility"}}