Generate treeview for command "go mod graph
" .
- Go: 1.16+
- Go Mods: go.mod
$ go get -u https://github.com/rujax/gmtree
Name | Alias | Type | Default Value |
---|---|---|---|
--indent | -i | int | 2 |
Print treeview on Stdout
$ go mod graph | gmtree # Indent: 2
$ go mod graph | gmtree -i n # Indent: n
Save treeview to file
$ go mod graph | gmtree > treeview_file_path
Mac
Windows
Linux