1. Ronald Oussoren
  2. modulegraph

Source

modulegraph / doc / commandline.rst

Commandline tools

The package installs a singe commandline script: modulegraph

This script calculates the module graph for the scripts passed on the commandline and by default prints a list of modules in the objectgraph, and their type and location.

The script has a number of options to change the output:

  • -d: Increase the debug level
  • -q: Clear the debug level (emit minimal output)
  • -m: The arguments are module names instead of script files
  • -x name: Add name to the list of excludes
  • -p path: Add path to the module search path
  • -g: Emit a .dot file instead of a list of modules
  • -h: Emit a .html file instead of a list of modules