hooks: add generators

This commit is contained in:
Liam Fitzgerald 2021-03-15 14:03:46 +10:00
parent 23e772ece5
commit fb502ae519
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
/- *pull-hook
:- %say
|= $: [now=@da eny=@uvJ =beak]
[[=ship =term ~] ~]
==
:- %pull-hook-action
^- action
[%add ship ship term]

View File

@ -0,0 +1,8 @@
/- *push-hook
:- %say
|= $: [now=@da eny=@uvJ =beak]
[[=term ~] ~]
==
:- %push-hook-action
^- action
[%add p.beak term]