Skip to main content

Visualize Git Submodule Graphs

Project description

Submodule Graph

Visualize Git Submodule Graphs

Install

$ pip install submodulegraph

Usage

$ submodulegraph --help

Usage: submodulegraph [OPTIONS] REPO

Options:
  -m, --mode TEXT       Output Mode: text | png  [default: text]
  -g, --graphmode TEXT  GraphMode: scattered | clustered  [default: scattered]
  -o, --out TEXT        Image filename  [default: graph]
  -u, --with-url        Add repo URLs  [default: False]
  --help                Show this message and exit.
Examples:
# (Default) print the structure of the submodules in text in the console.
$ submodulegraph <path to repo>

# Print the structure of the submodules in text in the console, including repo URLs.
$ submodulegraph -u <path to repo>

# Create a png of the submodule structure where all the submodules are listed separately.
$ submodulegraph -m png <path to repo>

# Create a png of the submodule structure where all the submodules are only listed once.
$ submodulegraph -m png -g clustered <path to repo>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

submodulegraph-1.0.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

submodulegraph-1.0.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page