1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-24 21:52:59 +00:00

use action strings

This commit is contained in:
Jörn-Michael Miehe 2020-08-19 17:25:39 +02:00
parent e6f87277c6
commit a085586baa

View file

@ -19,6 +19,8 @@ class SubCommand:
def __init__(self, name, action, add_parser=True, **kwargs):
self.__name = name
self._action = action
if add_parser:
self._sub_parser = Parser().get_subparsers().add_parser(
name,