jw.pkg.cmds.Cmd: Derive from lib.Cmd

The body of Cmd is pretty much entirely obviated by its base class.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-01-21 14:29:10 +01:00
commit 1f26391452
2 changed files with 6 additions and 48 deletions

View file

@ -78,8 +78,7 @@ class App(Base):
async def _run(self, args: argparse.Namespace) -> None:
self.opt_debug = args.debug
if len(args.os):
self.opt_os = args.os[0]
self.opt_os = args.os
if args.prefix is not None:
self.projs_root = args.prefix