mas-cli / mas-cli/mas

Detect, and possibly fix, odd/bad MAS app states

Open
#660 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Problem(s) addressed

MAS apps can get into odd/bad states.

Detect, and possibly fix, them.

e.g., more than one app with the same app ID can be installed under /Applications.

Proposed solution(s)

Non-mutually exclusive solutions:

  • mas doctor: detect (and possibly fix) any problems we can
    • Possibly interactive, automatic, filterable, etc.
  • Include warnings when running other commands normally
  • Change default command outputs to make odd/bad states more noticeable, e.g.:
    • Include app paths in default mas list output, either for all apps or just for those with duplicate app IDs
  • Allow explicitly asking for specific states from various commands, e.g.:
    • mas list —duplicate-app-ids
Alternative solution(s)

No response

Additional context

No response

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 reviewing the existing mas list command and the proposed mas doctor entry point, using duplicate app IDs under /Applications as the concrete case. The issue does not identify files, tests, a complete set of bad states, or whether fixes should be automatic, so the scope and definition of done need maintainer decisions before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.