mikechambers / dcli

Command line utilities for Destiny 2
https://github.com/mikechambers/dcli
MIT License
87 stars 13 forks source link

--verbose prints api response which can overflow terminal #7

Closed mikechambers closed 3 years ago

mikechambers commented 3 years ago

Currently --verbose will print the response from the API server, which is useful for debugging. However, this can print a LOT of info, depending on the app and APP, which in some cases can cause the terminal to freeze.

Change this to only print the first N number of characters for each response, so at least we can potentially see whether the response was an error.

mikechambers commented 3 years ago

Fixed. Now will print max of 200 chars for a response.