cmds.CmdPkg: Rename pkg -> packages
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:
parent
effda76f33
commit
5607588c88
1 changed files with 6 additions and 1 deletions
|
|
@ -10,7 +10,12 @@ if TYPE_CHECKING:
|
||||||
class CmdPkg(Cmd): # export
|
class CmdPkg(Cmd): # export
|
||||||
|
|
||||||
def __init__(self, parent: Parent) -> None:
|
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()
|
self.load_subcommands()
|
||||||
|
|
||||||
async def _run(self, args):
|
async def _run(self, args):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue