This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#!/usr/bin/env python |
| 2 |
"""Create timecard histograms for a ref. |
| 3 |
|
| 4 |
For printing a chart (the default), pygooglechart is required: |
| 5 |
|
| 6 |
http://pygooglechart.slowchop.com/ |
| 7 |
|
| 8 |
Note that this assumes you've got an OS-X style "open" command. If |
| 9 |
you don't, it should be easy enough to adapt main to what you need. |
| 10 |
|
| 11 |
""" |
| 12 |
|
| 13 |
import sys |
| 14 |
|
| 15 |
import gitaggregates |
| 16 |
|
| 17 |
if __name__ == '__main__': |
| 18 |
th = gitaggregates.TimeHisto() |
| 19 |
th.add_logs(log_args=sys.argv[1:]) |
| 20 |
gitaggregates.open_chart(th) |