mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
taskwiki: Add TaskWikiBurndown command
This commit is contained in:
parent
ca895deea5
commit
d794bfb13b
2 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,7 @@ augroup END
|
|||
|
||||
command! TaskWikiProjects :py Splits.projects()
|
||||
command! TaskWikiProjectsSummary :py Splits.summary()
|
||||
command! TaskWikiBurndown :py Splits.burndown()
|
||||
|
||||
command! -range TaskWikiInfo :<line1>,<line2>py SelectedTasks().info()
|
||||
command! -range TaskWikiLink :<line1>,<line2>py SelectedTasks().link()
|
||||
|
|
|
@ -62,6 +62,11 @@ class Splits(object):
|
|||
output = util.tw_execute_colorful(tw, ['summary'])
|
||||
util.show_in_split(output, name="summary", vertical=True)
|
||||
|
||||
@staticmethod
|
||||
def burndown():
|
||||
output = util.tw_execute_colorful(tw, ['burndown'], maxwidth=True)
|
||||
util.show_in_split(output, name="burndown")
|
||||
|
||||
|
||||
class SelectedTasks(object):
|
||||
def __init__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue