1
0
mirror of https://github.com/strongdm/comply synced 2025-12-06 14:24:12 +00:00

Merge branch 'master' of github.com:strongdm/comply

This commit is contained in:
Justin McCarthy
2018-07-20 17:45:33 -07:00
10 changed files with 290 additions and 59 deletions

View File

@@ -23,6 +23,7 @@ import (
"github.com/pkg/errors"
"github.com/strongdm/comply/internal/config"
"github.com/strongdm/comply/internal/jira"
"github.com/strongdm/comply/internal/gitlab"
"github.com/strongdm/comply/internal/plugin/github"
"github.com/urfave/cli"
)
@@ -61,6 +62,7 @@ func newApp() *cli.App {
// Plugins
github.Register()
jira.Register()
gitlab.Register()
return app
}

View File

@@ -100,7 +100,7 @@ func initAction(c *cli.Context) error {
chooser = promptui.Select{
Label: "Ticket System",
Items: []string{"GitHub", "Jira", "None"},
Items: []string{"GitHub", "Jira", "GitLab", "None"},
}
choice, _, err = chooser.Run()
@@ -117,6 +117,8 @@ func initAction(c *cli.Context) error {
ticketing = model.GitHub
case 1:
ticketing = model.Jira
case 2:
ticketing = model.GitLab
default:
ticketing = model.NoTickets
}