--graph-output no longer works in version 2.5.0
fsherratt opened this issue · comments
PR #195 added an extra command line argument but used the wrong argument in the main() operation selection logic. This has made it so it's not possible to enter the --graph-output
logic.
pipdeptree/src/pipdeptree/__init__.py
Lines 932 to 935 in a0c9c32
I think it should be as below
elif args.mermaid:
print(render_mermaid(tree))
elif args.output_format:
output = dump_graphviz(tree, output_format=args.output_format, is_reverse=args.reverse)
Just seen #196