cmds.CmdPkg: Rename pkg -> packages
Some checks failed
CI / Packaging - Kali Linux (pull_request) Failing after 2m19s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Failing after 2m30s
CI / Packaging test (pull_request) Failing after 0s

Relabel the toplevel command CmdPkg from "pkg" to "packages", because it rolls off the tounge much more nicely. Keep "pkg" as an alias for compatibilty.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-06-18 10:15:37 +02:00
commit 5607588c88
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -10,7 +10,12 @@ if TYPE_CHECKING:
class CmdPkg(Cmd): # export
def __init__(self, parent: Parent) -> None:
super().__init__(parent, 'pkg', help = 'System package manager wrapper')
super().__init__(
parent,
'packages',
aliases = ['pkg'],
help = 'System package manager wrapper'
)
self.load_subcommands()
async def _run(self, args):