depgrapth

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 9 Imported by: 0

README

depgraph

This Go application builds a graph representation of the dependencies within a Go module.

Installation

go install github.com/fatimalkaus/depgrapth@latest

Usage

go run main.go -depth <depth_value> -reg <regex_string> <optional_module_path>

Parameters

  • -depth: Specifies the maximum depth for building the graph (default is 10).

  • -reg: Specifies the regular expression for filtering the dependencies.

  • <optional_module_path>: Optional path to the module. If not provided, the current working directory will be used.

Output

The application outputs the graph representation on the DOT format of the dependencies to the standard output.

Example

depgrapth -reg="github" -depth=15 | dot -Tpng > out.png

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL