Browse Source

Added Dummy core, so that we can write other core easily

bugfixes
gau1991 10 years ago
parent
commit
b44638b40e
  1. 2
      ee/cli/controllers/site.py
  2. 9
      ee/core/dummy.py

2
ee/cli/controllers/site.py

@ -1,6 +1,7 @@
"""EasyEngine site controller."""
from cement.core.controller import CementBaseController, expose
from ee.core.dummy import EEDummy
class EESiteController(CementBaseController):
class Meta:
@ -18,6 +19,7 @@ class EESiteController(CementBaseController):
def default(self):
# Default action for ee site command
print("Inside EESiteController.default().")
EEDummy.dummy()
# site command Options and subcommand calls and definations to
# mention here

9
ee/core/dummy.py

@ -0,0 +1,9 @@
"""EasyEngine dummy core classes."""
class EEDummy():
"""Generic errors."""
def __init__():
pass
def dummy():
print("Dummy Funtion")
Loading…
Cancel
Save