Initial checkin for dcc v2. Includes support for play/record/fabricate.
This commit is contained in:
parent
9a790b0b3a
commit
e78453d6bd
8 changed files with 166 additions and 0 deletions
29
dcc/main.py
Normal file
29
dcc/main.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
import sys
|
||||
|
||||
from cliff.app import App
|
||||
from cliff.commandmanager import CommandManager
|
||||
|
||||
class DCC(App):
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
description="Doom Command Center",
|
||||
version="0.0.1",
|
||||
command_manager=CommandManager("dcc"),
|
||||
deferred_help=True,
|
||||
)
|
||||
|
||||
def initialize_app(self, argv):
|
||||
pass
|
||||
|
||||
def prepare_to_run_command(self, cmd):
|
||||
pass
|
||||
|
||||
def clean_up(self, cmd, result, err):
|
||||
pass
|
||||
|
||||
def main(argv=sys.argv[1:]):
|
||||
dcc = DCC()
|
||||
return dcc.run(argv)
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
Loading…
Add table
Add a link
Reference in a new issue