D
Deno

help

deno info depth

Sscarf12/12/2023
how do i limit maximum output depth for deno info command? for example, it's easier to analyze very complex dependencies when maximum depth is specified.
No description
DAHDeno AI Helper12/12/2023
I wasn't able to find the answer to your question in the official Deno documentation. However, based on your message, it seems like you're looking for a way to limit the output depth of the deno info command. As of my knowledge cutoff date, there isn't a built-in option in the deno info command to limit the maximum output depth for dependency analysis. The deno info command provides information about the module dependencies, but it does not have a flag or option to specify the depth of the analysis. Please note that this advice is not based on the Deno documentation, and I would recommend double-checking the accuracy of this advice, as well as looking for any updates or plugins that might have been released after my knowledge cutoff date that could provide this functionality. Additionally, you might consider reaching out to the Deno community or checking the Deno GitHub repository for any discussions or feature requests related to this topic.
Bbartlomieju12/13/2023
There's no option to specify maximum depth for deno info. You might want to try deno info --json that will give you JSON document that you can display using any JSON viewer
Sscarf12/14/2023
would it be too hard to implement depth flag? if i were to open a PR, should i both modify deno and deno_graph?
Bbartlomieju12/14/2023
I'm not sure. Maybe @dsherret can provide more info

Looking for more? Join the community!