mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 07:57:20 +02:00
Commands
- Migrated handleVersion to CmdVersion.
This commit is contained in:
parent
d892a0cbd2
commit
fc77e04b54
9 changed files with 174 additions and 86 deletions
|
@ -35,6 +35,7 @@
|
|||
#include <CmdLogo.h>
|
||||
#include <CmdTags.h>
|
||||
#include <CmdTip.h>
|
||||
#include <CmdVersion.h>
|
||||
#include <Context.h>
|
||||
|
||||
extern Context context;
|
||||
|
@ -50,6 +51,7 @@ void Command::factory (std::map <std::string, Command*>& all)
|
|||
c = new CmdLogo (); all[c->keyword ()] = c;
|
||||
c = new CmdTags (); all[c->keyword ()] = c;
|
||||
c = new CmdTip (); all[c->keyword ()] = c;
|
||||
c = new CmdVersion (); all[c->keyword ()] = c;
|
||||
|
||||
// Instantiate a command object for each custom report.
|
||||
std::vector <std::string> variables;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue