Skip to content

Commit

Permalink
Add grimoirelab draft
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Sep 30, 2020
1 parent f5961cf commit b1a694d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cmd/cmd_gitlab.go
Expand Up @@ -105,6 +105,20 @@ func gitlabRepositories(c *cli.Context) error {
switch format {
case "json":
output.PrintJSON(c.App.Writer, filtered)
// case "grimoirelab":
// projects := grimoirelab.ConvertGitlabToProjectsJSON(
// filtered,
// func(repo github.Repository) grimoirelab.Metadata {
// return grimoirelab.Metadata{
// "title": repo.Owner,
// "program": "One Codebase",
// }
// },
// projectMatcher)
// err = output.PrintJSON(c.App.Writer, projects)
// if err != nil {
// return err
// }
case "templated":
if !c.IsSet("template") {
return fmt.Errorf("you must specify the path to the template")
Expand Down

0 comments on commit b1a694d

Please sign in to comment.