goredirects
goredirects copied to clipboard
Ability to skip vendor and specific git remote name
Introducing -include-vendor flag to generate vanity URLs for vendored packages, off by default. Adding ability to override the default "origin" remote name used to determine the URLs.
Fixes #4 and #5
Usage:
goredirects -include-vendor bramp.net outputdir
goredirects -git-remote=upstream bramp.net outputdir
goredirects -git-remote=upstream -include-vendor bramp.net outputdir
We maybe should abstract out the package and use a separate cmd
using https://github.com/spf13/cobra for more user friendly CLI flag parsing. This will allow to embed this package in other logic as well.