tamentis / cartman

Command line Trac tools
http://tamentis.com/projects/cartman/
ISC License
22 stars 10 forks source link

Add "timeline" command #9

Closed strk closed 8 years ago

strk commented 8 years ago

shows opened/closed tickets in the given number of days from today

tamentis commented 8 years ago

That's a nice addition, can you avoid the crash if it's not given a parameter?

(venv)marduk:ca4041...:/private/tmp/cartman$ ./cm timeline     
Traceback (most recent call last):
  File "./cm", line 67, in <module>
    main()
  File "./cm", line 58, in main
    application.run(args)
  File "/private/tmp/cartman/cartman/app.py", line 108, in run
    output = func(*args.parameters)
TypeError: run_timeline() takes exactly 2 arguments (1 given)
strk commented 8 years ago

done