Skip to content

Commit

Permalink
Clean up the output of the orb list command.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomorain committed Jun 25, 2018
1 parent 8c7c64f commit 3ba64eb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmd/orb.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package cmd

import (
"context"
"fmt"

"github.com/CircleCI-Public/circleci-cli/client"
"github.com/pkg/errors"
Expand Down Expand Up @@ -82,9 +81,8 @@ query ListOrbs ($after: String!) {
return errors.Wrap(err, "GraphQL query failed")
}

Logger.Prettyify(result)

fmt.Printf("Total Number Of Orbs: %d\n", result.Orbs.TotalCount)
// Debug logging of result fields.
// Logger.Prettyify(result)

for i := range result.Orbs.Edges {
edge := result.Orbs.Edges[i]
Expand Down

0 comments on commit 3ba64eb

Please sign in to comment.