mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 07:57:20 +02:00
Commands
- New 'exec' command that runs external programs, implemented by CmdExec. - Restructured code so that only Commands implements ::read_only and ::displays_id methods, while derived objects simply set flags. - Corrected column alignment in summary report.
This commit is contained in:
parent
52599dca63
commit
afc97d566c
11 changed files with 63 additions and 49 deletions
|
@ -34,12 +34,12 @@ class CmdExec : public Command
|
|||
{
|
||||
public:
|
||||
CmdExec ();
|
||||
~CmdExec ();
|
||||
|
||||
bool implements (const std::string&) const;
|
||||
bool implements (const std::string&);
|
||||
int execute (const std::string&, std::string&);
|
||||
|
||||
private:
|
||||
std::string _external_command;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue