mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-14 15:04:14 +03:00
03fd56e8cc
Instead of a list of arguments, with trailing ~.
19 lines
443 B
Plaintext
19 lines
443 B
Plaintext
/- spider
|
|
/+ strandio
|
|
=, strand=strand:spider
|
|
^- thread:spider
|
|
|= arg=vase
|
|
=/ m (strand ,vase)
|
|
^- form:m
|
|
:: Parse arguments as ship, desk, and path
|
|
::
|
|
=+ !<([~ =care:clay =ship =desk =case =target=path] arg)
|
|
:: Read the file, possibly asyncrhonously
|
|
::
|
|
;< =bowl:spider bind:m get-bowl:strandio
|
|
;< =riot:clay bind:m
|
|
(warp:strandio ship desk ~ %sing care case target-path)
|
|
?~ riot
|
|
(pure:m !>("nothing"))
|
|
(pure:m q.r.u.riot)
|