This isn't packaged yet. To load it, cd into the repo and execute:
pip install --editable . --upgrade .paro --helpfrom parophrys import cli, do
@cli.command()
@cli.option('--flag', is_flag=True, help='my help text')
@cli.option('--parameter', help='more help text')
def my_command(flag, parameter=None):
if flag:
if parameter:
do('command' + parameter)
else:
do('command')
else:
print 'did nothing'And to run it:
paro -C 'Role::Something' my_command --flag --parameter my_file