Skip to content

Create new flag to non interactively display what's available to upgrade #1436

Open
@rightaway

Description

Describe the solution you'd like

yay --sync --combinedupgrade --sysupgrade shows the output of available packages to upgrade in a very nice looking and useful way. It shows things in columns categorized by type of repository, and in color, with appropriate highlighting.

There should be a flag we can pass to just show this output which is non interactive, so it doesn't prompt for a Y/N and doesn't require any keyboard input. Just displays and quits, exactly how yay -Qu does.

Then our custom upgrade scripts and reports can get the benefit of having the same excellent formatting of the other command. For example you can do something like whenever you log in to your system the terminal prints this nice output so you can decide if you want to upgrade at a glance.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions