Task Server

- Added 'taskd.server' and 'taskd.credentials' as supported configuration
  variables.
- Added the 'taskd.server' values to the 'diagnostics' command output.
- Updated taskrc.5.in to mention the new variables.
This commit is contained in:
Paul Beckingham 2011-10-02 17:20:16 -04:00
parent eed3cf5d0f
commit 148eaa5e58
3 changed files with 16 additions and 0 deletions

View file

@ -428,6 +428,16 @@ Taskwarrior supports command aliases. This alias provides an alternate name
any of the commands. Several commands you may use are actually aliases -
the 'history' report, for example, or 'export'.
.SS SYNCH SERVER
.TP
.B taskd.server=<server>:<port>
The server and port address of the task server with which you synchronize.
.TP
.B taskd.credentials=<org>:<user>:<key>
These are your server credentials. Keep this information private and secure!
Note that these credentials must match the server account.
.SS EXTENSIONS
.TP
.B extensions=on

View file

@ -199,6 +199,10 @@ int CmdDiagnostics::execute (std::string& output)
<< location.mode ()
<< "\n";
out << " Server: "
<< context.config.get ("taskd.server")
<< "\n";
out << " Locking: "
<< (context.config.getBoolean ("locking")
? STRING_CMD_DIAG_ENABLED

View file

@ -180,6 +180,8 @@ int CmdShow::execute (std::string& output)
" shadow.notify"
" shell.prompt"
" tag.indicator"
" taskd.server"
" taskd.credentials"
" undo.style"
" urgency.active.coefficient"
" urgency.annotations.coefficient"