mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-28 15:25:23 +02:00
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:
parent
e39047e0dd
commit
1f26391452
2 changed files with 6 additions and 48 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue