mas-cli / mas-cli/mas

Implement `reindex` (maybe called `reload`, `refresh`, etc.)

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

Nobody has claimed this yet.

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

Description

Reload Page on certain pages in the Mac App Store updates some of the Apple data structures used by mas.

Add sub command (tentatively called mas reload, to use the same terminology as the Mac App Store, though I'm willing to change the name, or to make an alias, to something that reads better, like mas refresh) to perform the equivalent of reloading the purchased list, the updates list, potentially other pages from the Mac App Store, or some combination thereof (including all).

Could accept flags specifying which things to reload. Default could be all of them, or that could be specified via an --all flag.

Also, this same functionality could be called by other commands behind the scenes to ensure they work with the latest data.

mas reset doesn't accomplish what Reload Page does in the Mac App Store, as per https://github.com/mas-cli/mas/issues/632#issuecomment-2456008638.

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 examining the existing mas reset command and the behavior described for Reload Page in the Mac App Store. Determine which purchased, updates, and other page data must be reloaded, then define the command name, flags, defaults, and how other commands could invoke it. Done means the CLI reliably performs the intended reload behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli
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.