Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 82728033ff
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (25 sloc) 0.818 kB
# Here you can create play commands that are specific to the module, and extend existing commands
MODULE = 'jobs'
# Commands that are specific to your module
COMMANDS = ['jobs:hello']
def execute(**kargs):
command = kargs.get("command")
app = kargs.get("app")
args = kargs.get("args")
env = kargs.get("env")
if command == "jobs: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
Jump to Line
Something went wrong with that request. Please try again.