Odyssey
entry.py
1 """
2 HomeCU tool for managing Odyssey customers, aka the credit unions.
3 """
4 
5 import os
6 import shellish
7 from . import customer
8 from . import db
9 from . import fixture
10 
11 
12 class CUManage(shellish.Command):
13  """ Manage an Odyssey stack. """
14 
15  name = 'cumanage'
16 
17  def setup_args(self, parser):
18  self.add_subcommand(fixture.Fixture)
19  self.add_subcommand(db.DB)
20  self.add_subcommand(customer.Customer)
21  self.add_subcommand(Debug)
22 
23 
24 class Debug(shellish.Command):
25  """ Debug command shell. """
26 
27  name = 'debug'
28 
29  def run(self, args):
30  os.system('bash')
31 
32 
33 CUManage()()
Definition: db.py:13