mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdReport: Added all config settings to API
This commit is contained in:
parent
b2b0c1d4e0
commit
e01c031539
1 changed files with 4 additions and 3 deletions
|
@ -84,12 +84,13 @@ int CmdReport (
|
|||
|
||||
// Compose Header info.
|
||||
std::stringstream header;
|
||||
// TODO Configuration.
|
||||
// TODO Exclusions.
|
||||
// TODO Filter.
|
||||
// TODO CLI.
|
||||
// TODO Directory containing *.data files.
|
||||
header << "version=" << VERSION << "\n";
|
||||
|
||||
// All configuration.
|
||||
for (auto& name : rules.all ())
|
||||
header << name << "=" << rules.get (name) << "\n";
|
||||
|
||||
// Compose JSON.
|
||||
std::stringstream json;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue