nextcloud / nextcloud/server

Add customisable output format to `php occ app:update --showonly`

Open
#46,056 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: apps management
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

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

For automation purposes, one might want to know which apps can be updated. The php occ app:update --showonly command provides this information, but its plaintext output must be parsed manually.

Describe the solution you'd like

The command should provide the --output option, as many other commands do (e.g. for JSON).

Describe alternatives you've considered

Parse unformatted text, but that is unreliable.

Additional context

N/A

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 with the php occ app:update --showonly command and inspect how other commands expose the --output option, including JSON output. The issue names no file or test path. Done means the command can emit a customizable format suitable for reliable automation instead of only plaintext.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.