shrub/pkg/arvo/ted/jam-all-desks.hoon

30 lines
605 B
Plaintext
Raw Normal View History

2021-09-27 05:03:13 +03:00
/- spider
/+ strandio, jammer=desk-jam
=, strand=strand:spider
^- thread:spider
|= arg=vase
=/ m (strand ,vase)
^- form:m
=+ !<([~ desks=(list desk)] arg)
=? desks =(~ desks)
:~ %base
%garden
%landscape
%webterm
%bitcoin
==
^- form:m
::
;< [our=ship syd=desk =case] bind:m get-beak:strandio
2021-09-27 05:03:13 +03:00
=/ now=@da ?>(?=(%da -.case) p.case)
::
;< ~ bind:m
%- send-raw-card:strandio
=- [%pass /tmp-desks %arvo %c %info %base %& -]
^- soba:clay
%+ turn desks
|= =desk
[/tmp/[desk]/jam %ins %jam %noun (jam-desk:jammer our desk now)]
::
(pure:m !>(ok=&))