Skip to content

chore: migrate remaining json.MarshalIndent call sites to cmdutil.PrintJSON #32

Description

@rbansal42

17 remaining json.MarshalIndent call sites were not converted in the initial dedup refactor. These are in view/create/edit commands across pipeline, snippet, pr, workspace, branch, repo, and project packages.

Files with unconverted sites: pipeline/steps.go, pipeline/view.go, branch/create.go, workspace/members.go, workspace/view.go, snippet/create.go, snippet/delete.go, snippet/edit.go, snippet/view.go, pr/edit.go, pr/checks.go, project/create.go, project/view.go, repo/view.go, api/api.go

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions