<!-- DO NOT DELETE validate_template=true template_path=.github/ISSUE_TEMPLATE/bug_report.md --> <!-- Thank you for contributing to the Firebase community! Think you found a bug? ======================= Yeah, we're definitely not perfect! Please use this template and include a minimal repro when opening the issue. If you know how to solve the issue, please create a Pull Request, and we'd be happy to review it! Have a feature request? ======================== Great, we love hearing how we can improve our products! However, do not use this template to submit a feature request. Please submit your feature requests to: https://firebase.google.com/support/contact/bugs-features/ Have a usage question? ======================= We get lots of those and we love helping you, but GitHub is not the best place for them and they will be closed. Please take a look at the guide first: https://firebase.google.com/docs/cli/ If the official documentation doesn't help, try asking through our official support channel: https://firebase.google.com/support/ Additional locations to check for solutions or assistance from the community: - Stack Overflow: https://stackoverflow.com/ - Firebase Slack Community: https://firebase.community/ *Please avoid duplicate posting across multiple channels!* --> ### [REQUIRED] Environment info <!-- What version of the Firebase CLI (`firebase-tools`) are you using? Note that your issue may already be fixed in the latest versions. The latest version can be found at https://github.com/firebase/firebase-tools/releases --> <!-- Output of `firebase --version` --> **firebase-tools:** 9.10.0 <!-- e.g. macOS, Windows, Ubuntu --> **Platform:** Ubuntu 20.04 ### [REQUIRED] Test case <!-- Provide a minimal, complete, and verifiable example (http://stackoverflow.com/help/mcve) --> With a project where this outputs more than 64KB, run: ``` firebase ext:list --json | jq ``` This is failing for me, with the output truncating at 64000 bytes ### [REQUIRED] Steps to reproduce <!-- Provide the steps needed to reproduce the issue with the above test case. --> Enable several Firebase extensions in a project Run a command that pipes the json output to another command, eg: ```firebase ext:list --json | jq``` (or maybe run any firebase cli command that supports --json output, and produces > 64KB). ### [REQUIRED] Expected behavior <!-- What is the expected behavior? --> Valid json should be piped. ### [REQUIRED] Actual behavior <!-- Run the command with --debug flag, and include the logs below. --> When piped to another command the JSON seems to be terminated at 64000. Using the `unbuffer` command seems to workaround this, but ideally this wouldn't be required. eg, this works as expected: ``` unbuffer firebase ext:list --json | jq ```