mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Hooks: Implement "Hooks v2" API
- All hook scripts now receive key:value pair command line arguments. - Add only the basics: api, args, command, rc, data. Possibly more to come.
This commit is contained in:
parent
5d4859c44d
commit
04d0c52a43
2 changed files with 27 additions and 0 deletions
|
@ -57,6 +57,7 @@ private:
|
|||
void assertNTasks (const std::vector <std::string>&, unsigned int) const;
|
||||
void assertSameTask (const std::vector <std::string>&, const Task&) const;
|
||||
void assertFeedback (const std::vector <std::string>&) const;
|
||||
std::vector <std::string>& buildHookScriptArgs (std::vector <std::string>&);
|
||||
int callHookScript (const std::string&, const std::vector <std::string>&, std::vector <std::string>&);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue