mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
CmdExport
- Converted from A3 to Filter.
This commit is contained in:
parent
7e8e48ff08
commit
492272dec4
1 changed files with 3 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
||||||
|
|
||||||
#include <cmake.h>
|
#include <cmake.h>
|
||||||
#include <Context.h>
|
#include <Context.h>
|
||||||
|
#include <Filter.h>
|
||||||
#include <main.h>
|
#include <main.h>
|
||||||
#include <i18n.h>
|
#include <i18n.h>
|
||||||
#include <CmdExport.h>
|
#include <CmdExport.h>
|
||||||
|
@ -48,8 +49,9 @@ int CmdExport::execute (std::string& output)
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
|
|
||||||
// Apply filter.
|
// Apply filter.
|
||||||
|
Filter filter;
|
||||||
std::vector <Task> filtered;
|
std::vector <Task> filtered;
|
||||||
filter (filtered);
|
filter.subset (filtered);
|
||||||
|
|
||||||
// Note: "limit:" feature not supported.
|
// Note: "limit:" feature not supported.
|
||||||
// TODO Why not?
|
// TODO Why not?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue