Command-line interface for tatoo
Project description
Tatoo CLI
Command-line interface for tatoo library.
Given the following tasks.py file:
from tatoo import Environment, parameter from tatoo.tasks import types env = Environment('myenv') @env.task @parameter('x', type=types.Float) @parameter('y', type=types.Float) def add(x, y): print(x + y)
You can execute add task like this:
$ tatoo -E tasks apply add 1 2 3.0
It works under Python 2.6, 2.7, 3.3+ and Pypy (Pypy3 is not yet supported) on Linux, OSX and Windows. This ensured on each commit continiously using TravisCI (Linux & OSX) and Appveyor (Windows).