Add a base class for commands that provides wad and map arguments.

This commit is contained in:
yrriban 2025-04-15 22:49:22 -04:00
parent f8873e1947
commit aff20e9557
6 changed files with 18 additions and 40 deletions

8
dcc/doom_base.py Normal file
View file

@ -0,0 +1,8 @@
from cliff.command import Command
class WadMap(Command):
def get_parser(self, prog_name):
parser = super().get_parser(prog_name)
parser.add_argument('wad')
parser.add_argument('map')
return parser