Skip to content

A small gvt-based tool to list unused dependencies that can be removed from your vendor.

Notifications You must be signed in to change notification settings

slomek/gvt-unused

Repository files navigation

gvt-unused

Build Status

A small gvt-based tool to list unused dependencies that can be removed from your vendor.

Disclaimer

This application does not perform any action on your vendor files - it acts as a kind friend who has some advice which you may or may not follow. In the end it's your life, and nobody should be blamed by your choices other than yourself.

Installation & Usage

In order to install gvt-unused type:

$ go get -u github.com/slomek/gvt-unused/...

In order to list unused dependencies in a project using gvt as a vendoring tool, type:

$ gvt-unused
‣ Listing dependencies from manifest file...
‣ Listing dependencies from source code...
↳ Looking in the sources
↳ Looking in the test sources
↳ Filtering non-standard imports...
...

If you are using a non-standard manifest JSON location (vendor/manifest), you can define a custom one:

$ gvt-unused -manifest vendor/manifest-file-path

Kudos

Kudos to Filippo Valsorda for making gvt.

About

A small gvt-based tool to list unused dependencies that can be removed from your vendor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages