PK 9RB?">Jp p build.xml
PK KRB? @X X commands.py# Here you can create play commands that are specific to the module, and extend existing commands
MODULE = 'mocha'
# Commands that are specific to your module
COMMANDS = ['mocha:hello']
def execute(**kargs):
command = kargs.get("command")
app = kargs.get("app")
args = kargs.get("args")
env = kargs.get("env")
if command == "mocha:hello":
print "~ Hello"
# This will be executed before any command (new, run...)
def before(**kargs):
command = kargs.get("command")
app = kargs.get("app")
args = kargs.get("args")
env = kargs.get("env")
# This will be executed after any command (new, run...)
def after(**kargs):
command = kargs.get("command")
app = kargs.get("app")
args = kargs.get("args")
env = kargs.get("env")
if command == "new":
pass
PK k-?Wۦ9 9 commands.pyc
R