mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Context
- Now distinguishes between readcmd and writecmd entities.
This commit is contained in:
parent
a933109700
commit
d0ebf4c354
1 changed files with 3 additions and 1 deletions
|
@ -163,8 +163,10 @@ int Context::initialize (int argc, const char** argv)
|
|||
{
|
||||
if (cmd->first[0] == '_')
|
||||
a3t.entity ("helper", cmd->first);
|
||||
else if (cmd->second->read_only ())
|
||||
a3t.entity ("readcmd", cmd->first);
|
||||
else
|
||||
a3t.entity ("command", cmd->first);
|
||||
a3t.entity ("writecmd", cmd->first);
|
||||
|
||||
// TODO Entities: Reports.
|
||||
// TODO Entities: Read-only commands.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue