mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Code Reorganization
- Added the ability for a command to specify it's own pirmary keyword.
This commit is contained in:
parent
f8b44b68d7
commit
f53d509930
9 changed files with 128 additions and 1 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
|
||||
static Command* factory (const std::string&);
|
||||
|
||||
std::string keyword () const;
|
||||
std::string usage () const;
|
||||
std::string description () const;
|
||||
bool read_only () const;
|
||||
|
@ -48,6 +49,7 @@ public:
|
|||
virtual int execute (const std::string&, std::string&) = 0;
|
||||
|
||||
protected:
|
||||
std::string _keyword;
|
||||
std::string _usage;
|
||||
std::string _description;
|
||||
bool _read_only;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue