mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Commands: Better 'unimplemented' command descriptions
This commit is contained in:
parent
4c4684d6f5
commit
25042cbe71
15 changed files with 15 additions and 15 deletions
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdClear ()
|
||||
{
|
||||
std::cout << "# clear\n";
|
||||
std::cout << "[clear: allows removal of tags form intervals]\n";
|
||||
|
||||
// TODO Parse interval.
|
||||
// TODO Parser tags.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdConfig ()
|
||||
{
|
||||
std::cout << "# config\n";
|
||||
std::cout << "[config: allows set/reset/removal and enumeration of configuration settings]\n";
|
||||
|
||||
// TODO Determine form:
|
||||
// timew config name value Set name=value
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdContinue ()
|
||||
{
|
||||
std::cout << "# continue\n";
|
||||
std::cout << "[continue: allows resuming a stopped interval]\n";
|
||||
|
||||
// TODO Extract most recent interval.
|
||||
// TODO Verify the most recent interval is closed.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdDefault ()
|
||||
{
|
||||
std::cout << "# default command, or current interval summary\n";
|
||||
std::cout << "[default command or current interval summary]\n";
|
||||
|
||||
// TODO If there is a default command.
|
||||
// TODO Run it.
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdDefine (Rules& rules)
|
||||
{
|
||||
std::cout << "# define\n";
|
||||
std::cout << "[define: rule tweaking]\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdExport ()
|
||||
{
|
||||
std::cout << "# export\n";
|
||||
std::cout << "[export: JSON data export]\n";
|
||||
|
||||
// TODO Load all data.
|
||||
// TODO Apply filter.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdExtension ()
|
||||
{
|
||||
std::cout << "# extension\n";
|
||||
std::cout << "[extension: enumerate all extensions]\n";
|
||||
|
||||
// TODO Enumerate all extensions.
|
||||
// TODO Display list.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdGaps ()
|
||||
{
|
||||
std::cout << "# gaps\n";
|
||||
std::cout << "[gaps: shows untracked gaps in the current day/week/month]\n";
|
||||
|
||||
// TODO Load all data.
|
||||
// TODO Apply filter.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdImport ()
|
||||
{
|
||||
std::cout << "# import\n";
|
||||
std::cout << "[import: import and merge JSON data]\n";
|
||||
|
||||
// TODO Load all data.
|
||||
// TODO For each file.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdReport ()
|
||||
{
|
||||
std::cout << "# report\n";
|
||||
std::cout << "[report: run a specific report/extension]\n";
|
||||
|
||||
// TODO Load all data.
|
||||
// TODO Apply filter.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdStart ()
|
||||
{
|
||||
std::cout << "# start\n";
|
||||
std::cout << "[start: begin a new tracking interval]\n";
|
||||
|
||||
// TODO Load the most recent interval.
|
||||
// TODO If the interval is open, close it.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdStop ()
|
||||
{
|
||||
std::cout << "# stop\n";
|
||||
std::cout << "[stop: end an open tracking interval]\n";
|
||||
|
||||
// TODO Load the most recent interval.
|
||||
// TODO Verify the interval is open.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdTags ()
|
||||
{
|
||||
std::cout << "# tags\n";
|
||||
std::cout << "[tags: enumerate tags in use]\n";
|
||||
|
||||
// TODO Enumerate all data files.
|
||||
// TODO For each data file.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdTrack ()
|
||||
{
|
||||
std::cout << "# track\n";
|
||||
std::cout << "[track: record an old interval]\n";
|
||||
|
||||
// TODO Parse interval.
|
||||
// TODO Parse tags.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdUndo ()
|
||||
{
|
||||
std::cout << "# undo\n";
|
||||
std::cout << "[undo: revert last change]\n";
|
||||
|
||||
// TODO Extract most recent transaction.
|
||||
// TODO Apply inverse.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue