scarf
scarf12mo ago

deno info depth

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
4 Replies
Deno AI Helper
Deno AI Helper12mo ago
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.
bartlomieju
bartlomieju12mo ago
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
scarf
scarfOP12mo ago
would it be too hard to implement depth flag? if i were to open a PR, should i both modify deno and deno_graph?
bartlomieju
bartlomieju12mo ago
I'm not sure. Maybe @dsherret can provide more info