Helper Command

- Added _query helper command for script writers, which accepts a filter like
  any other report, but returns raw JSON.
This commit is contained in:
Paul Beckingham
2010-12-26 10:00:41 -05:00
parent 126a3d88b5
commit 7f32435ce9
8 changed files with 72 additions and 0 deletions

View File

@@ -135,6 +135,7 @@ void Cmd::load ()
commands.push_back ("_config");
commands.push_back ("_version");
commands.push_back ("_urgency");
commands.push_back ("_query");
commands.push_back ("export.csv");
commands.push_back ("export.ical");
commands.push_back ("export.yaml");
@@ -241,6 +242,7 @@ bool Cmd::isReadOnlyCommand ()
command == "_config" ||
command == "_version" ||
command == "_urgency" ||
command == "_query" ||
command == "export.csv" ||
command == "export.ical" ||
command == "export.yaml" ||