datahq / dataflows

DataFlows is a simple, intuitive lightweight framework for building data processing flows in python.
https://dataflows.org
MIT License
195 stars 40 forks source link

Supports arguments to python flow.py #4

Open rufuspollock opened 6 years ago

rufuspollock commented 6 years ago

The following commands should work - i.e. you can pass command line options to flow.py

python flow.py help
python flow.py --debug
python flow.py --start-at=...

This implies we need a special cli runner by default in templates that parses cli arguments ...

if __name__ == __main__:
    dataflows.runcli(...)