Skip to content

chore(loo-4788): --debug flag#29

Merged
notnmeyer merged 1 commit intomainfrom
chore/loo-4788/debug-flag
Mar 24, 2026
Merged

chore(loo-4788): --debug flag#29
notnmeyer merged 1 commit intomainfrom
chore/loo-4788/debug-flag

Conversation

@notnmeyer
Copy link
Copy Markdown
Member

@notnmeyer notnmeyer commented Mar 24, 2026

there's been a couple times where the cli doesnt quite do what i expect and i wished i could see the request we were constructing. this adds a global --debug flag that print the relevant request details before making a request,

➜ loops contacts update -e [email protected] -s false --debug
[debug] PUT https://app.loops.so/api/v1/contacts/update
[debug] Authorization: Bearer [REDACTED]
[debug] Content-Type: application/json
[debug] Body:
{
  "email": "[email protected]",
  "subscribed": false
}
Updated.

@linear
Copy link
Copy Markdown

linear bot commented Mar 24, 2026

LOO-4788

@notnmeyer notnmeyer self-assigned this Mar 24, 2026
@notnmeyer notnmeyer requested a review from nalanj March 24, 2026 14:33
@notnmeyer notnmeyer merged commit 702577c into main Mar 24, 2026
2 checks passed
@notnmeyer notnmeyer deleted the chore/loo-4788/debug-flag branch March 24, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants