Adding baseurl flag to allow self-hosted GitLab/GitHub servers

This commit is contained in:
Peter Gallagher committed 2019-12-01 10:49:32 +00:00
1 parent ef38b69c39
commit c5e1e8abc0
3 files changed
+25 -2

No files matched your search

+1
View File
@@ -52,6 +52,7 @@ type Options struct {
// Hosts
Host string `long:"host" description:"git hosting service like gitlab or github. Supported hosts include: Github, Gitlab"`
BaseURL string `long:"baseurl" description:"Base URL for API requests. Defaults to the public GitLab or GitHub API, but can be set to a domain endpoint to use with a self hosted server."`
Organization string `long:"org" description:"organization to audit"`
User string `long:"user" description:"user to audit"` //work
PullRequest string `long:"pr" description:"pull/merge request url"`