swupd-client icon indicating copy to clipboard operation
swupd-client copied to clipboard

Suggestion: Add shorthand for `bundle-*` commands

Open OpenSauce04 opened this issue 1 year ago • 1 comments
trafficstars

For example, instead of typing swupd bundle-add git, you could type in swupd add git.

This would reduce redundancy in command names and make the user experience a little smoother when managing software through swupd, as currently the commands for managing software are quite lengthy.

Additionally, seeing as bundles are the only way that software can be managed through swupd, it seems unnecessary to make the distinction in these commands.

The added shorthands would include:

  • bundle-add --> add
  • bundle-remove --> remove
  • bundle-list --> list
  • bundle-info --> info

OpenSauce04 avatar Feb 21 '24 14:02 OpenSauce04

This is notably not the same as #766, as I don't agree with reducing the commands to only a single character

This change is moreso to bring the swupd CLI experience in line with other package managers such as apt, apk, and dnf

OpenSauce04 avatar Feb 21 '24 14:02 OpenSauce04