Skip to content

wrap `dep ensure -add` to confirm adding packages with lots of dependencies

Notifications You must be signed in to change notification settings

Naatan/dep-areyousure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This is a functional proof of concept wrapper for dep ensure -add which primarily detects the number of third party dependencies for a package and asks for confirmation if this number exceeds 2 packages.

It will also print some additional information about the package provided by the go-search.org api.

The primary use-case being to prevent developers from unknowingly pulling in a simple package that comes with a ton of baggage (dependencies of its own).

Usage:

go get github.com/Naatan/dep-areyousure
dep-areyousure github.com/spf13/cobra/cobra 

About

wrap `dep ensure -add` to confirm adding packages with lots of dependencies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages