mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Product Name Change
- Converted all (appropriate) uses of 'task' to 'taskwarrior'.
This commit is contained in:
parent
a9b18da214
commit
44fe227595
303 changed files with 691 additions and 671 deletions
|
@ -1,5 +1,5 @@
|
|||
$
|
||||
$ # Task now has Lua 5.1.4 built in.
|
||||
$ # Taskwarrior now has Lua 5.1.4 built in.
|
||||
$
|
||||
$ task version
|
||||
$ cat > hooks.lua
|
||||
|
@ -9,18 +9,18 @@ function foo ()
|
|||
end
|
||||
^D
|
||||
$
|
||||
$ # Task can call into Lua at many points during execution.
|
||||
$ # This one is called immediately before task quits.
|
||||
$ # Taskwarrior can call into Lua at many points during execution.
|
||||
$ # This one is called immediately before taskwarrior quits.
|
||||
$
|
||||
$ task rc.hook.pre-exit=~/hooks.lua:foo version
|
||||
$
|
||||
$ # While task is calling Lua code, the Lua can also call
|
||||
$ # back into a task API, for information.
|
||||
$ # While taskwarrior is calling Lua code, the Lua can also call
|
||||
$ # back into a taskwarrior API, for information.
|
||||
$
|
||||
$ cat > hooks.lua
|
||||
function foo ()
|
||||
print "Lua version is " .. task_lua_version ())
|
||||
print "Task version is " .. task_version ())
|
||||
print "Taskwarrior version is " .. task_version ())
|
||||
return 0, nil
|
||||
end
|
||||
^D
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue