goverview

command module
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 10 Imported by: 0

README

goverview

Go Reference

goverview provides an overview as ASCII tree for a Golang project.

Usage

$ goverview ~/go/src/github.com/bayashi/goverview

┌ goverview/
├─┬ .github/
│ └─┬ workflows/
│   └── run-tests.yaml
├── .gitignore
├── LICENSE: License MIT
├── README.md
├──* arg.go: main
├──* builder.go: main
├──* cmd.go: main
├─┬ fileinfo/
│ ├──* fileinfo.go: fileinfo
│ │     Struct: FileInfo
│ ├──* go.go: fileinfo
│ │     Func: GoInfo
│ ├──* gomod.go: fileinfo
│ │     Func: GoModInfo
│ └──* license.go: fileinfo
│       Func: LicenseInfo
├── go.mod: go 1.19
├── go.sum
└──* main.go: main

You can see also private stuff with -a option.

$ goverview ~/go/src/github.com/bayashi/goverview -a

┌ goverview/
├─┬ .github/
│ └─┬ workflows/
│   └── run-tests.yaml
├── .gitignore
├── LICENSE: License MIT
├── README.md
├──* arg.go: main
│     struct: options
│     func: parseArgs
├──* builder.go: main
│     struct: walkerArgs
│     func: fromLocal, validateDirPath, buildTree, isSkipPath, walkProcess, getFileInfo
├──* cmd.go: main
│     func: putErr, putUsage, putHelp
├─┬ fileinfo/
│ ├──* fileinfo.go: fileinfo
│ │     Struct: FileInfo
│ ├──* go.go: fileinfo
│ │     struct: organizer
│ │     Func: GoInfo
│ │     func: goInfoProcessIdent, buildDescriptions
│ ├──* gomod.go: fileinfo
│ │     Func: GoModInfo
│ └──* license.go: fileinfo
│       Func: LicenseInfo
├── go.mod: go 1.19
├── go.sum
└──* main.go: main
      func: main, run

Full options:

Usage: goverview [OPTIONS] DIR
Options:
  -h, --help                 Show help (This message) and exit
  -t, --hide-test            Hide contents of test files
      --ignore stringArray   Ignore path to show if a given string would match
  -a, --show-all             Show all stuff
  -v, --version              Show version and build info and exit

Installation

homebrew install

If you are using Mac:

brew tap bayashi/tap
brew install bayashi/tap/goverview
binary install

Download binary from here: https://github.com/bayashi/goverview/releases

go install

If you have golang envvironment:

go install github.com/bayashi/goverview@latest

License

MIT License

Author

Dai Okabayashi: https://github.com/bayashi

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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