Skip to content

Instantly share code, notes, and snippets.

@kidig kidig/shovel.py
Last active Aug 29, 2015

Embed
What would you like to do?
Example for the python shovel.
from shovel import task
@task
def hello(name):
print "Hello, %s!" % name
@task
def kwargs(**kwargs):
print "Kwargs: %s" % kwargs
'''
Для запуска используем:
> shovel hello username
Hello, username!
> shovel kwargs --name 123 --val bar
{name: '123', val: 'bar'}
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.