mas-cli / mas-cli/mas

`--debug` option to output requested URLs, other debug info

Open
#317 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature output
Dominant language
Swift
Stars
12.4k
Forks
299
Avg merge
1d 2h
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.

Related to problems like #311 which can happen when the iTunes Search API returns unexpected JSON.

Describe the solution you'd like

I'd like a way to be able to print/dump the response JSON (and maybe HTTP headers) so that the data can be reviewed when errors occur.

Describe alternatives you've considered

Currently, the only way to view the JSON is to debug the project in Xcode or use a REST client with a problem search. Some of these issues are transient so this feature would allow mas users to easily collect this data for bug reports.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the iTunes Search API request and the existing error-reporting path; the issue names no files or tests. Confirm the intended --debug scope with maintainers, including whether requested URLs, response JSON, and HTTP headers are included, then add coverage for the agreed output.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.