OpenSIPS / opensips-cli

OpenSIPS CLI tool - an interactive command line tool that can be used to control and monitor OpenSIPS servers.
GNU General Public License v3.0
88 stars 48 forks source link

diagnose: Refactor code #9

Open liviuchircu opened 5 years ago

liviuchircu commented 5 years ago

Currently, all the logic is built within __invoke__. After some discussions with Ralf Zerres, it seems the code should be placed within a separate, do_diagnose method.