urbit/main/app/cp/core.hook
2014-12-18 22:58:15 +00:00

20 lines
388 B
Plaintext

!:
|_ [hid=hide ~]
++ poke-cp-args
|= [ost=bone you=ship input=path output=path ~]
:_ +>.$
:* [ost %pass /cp %c %info our.hid (foal output .^(%cx input))]
[ost %pass / %g %cide %$]
[ost %give %nice ~]
%+ turn (~(tap by sup.hid))
|= [ost=bone *]
:^ ost %give %rush
:- %tang :_ ~
leaf/"copied"
==
++ peer
|=
*
`+>
--