mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-04 12:28:35 +02:00
Commands
- New 'exec' command that runs external programs, implemented by CmdExec. - Restructured code so that only Commands implements ::read_only and ::displays_id methods, while derived objects simply set flags. - Corrected column alignment in summary report.
This commit is contained in:
parent
52599dca63
commit
afc97d566c
11 changed files with 63 additions and 49 deletions
|
@ -788,9 +788,9 @@ int handleReportSummary (std::string& outs)
|
|||
ViewText view;
|
||||
view.width (context.getWidth ());
|
||||
view.add (Column::factory ("string", "Project"));
|
||||
view.add (Column::factory ("string", "Remaining"));
|
||||
view.add (Column::factory ("string", "Avg age"));
|
||||
view.add (Column::factory ("string", "Complete"));
|
||||
view.add (Column::factory ("string.right", "Remaining"));
|
||||
view.add (Column::factory ("string.right", "Avg age"));
|
||||
view.add (Column::factory ("string.right", "Complete"));
|
||||
view.add (Column::factory ("string", "0% 100%"));
|
||||
|
||||
Color bar_color (context.config.get ("color.summary.bar"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue