Skip to content
Snippets Groups Projects

api: add a standard -dump-requests flag

Merged Warren Gifford requested to merge aharvey/dump-requests into master

Created by: LawnGnome

This flag dumps the request and response out to stdout for any request issued via the internal/api package. This is probably only useful to people developing src-cli, but it's also pretty lightweight.

The output is very basic right now, but that's mostly because we have lots of implementation details stuck unexported in cmd/src that would be useful for colouring. If we land this and #268, then I'll likely rework this to use the new Output type.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading