`update`: avoid dialogs for running apps (either skip running, auto-answer, etc.)
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 12.4k
- Forks
- 299
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Description
I would like to run mas upgrade as a bash script on a normal cadence to keep my apps updated and healthy. Currently, I cannot keep this process automatic since the script attempts to download ALL apps. Is there any flag or option to select only non-running apps when using mas upgrade?
I would like to avoid having to hit Cancel every time and instead let the script try again later:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the mas upgrade command and trace how it handles apps that are currently running and trigger dialogs. Define a way for unattended runs to skip or automatically handle those apps, then verify that the command can continue without requiring Cancel; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100