1
1
mirror of https://github.com/urbit/shrub.git synced 2024-12-30 07:35:19 +03:00
shrub/pkg/arvo/gen/configure-hosting.hoon
Elliot Glaysher 04ab7b5eb6 king: implement -I and --inject-event-list
This makes it so during `run`, you can inject a series of Events
into your Urbit. The `-I` injection was implemented in Vere, and
has been ported to KH, with the extended `--inject-event-list`
flag which handles a jammed list of events.

Also included is a sample generator which builds a list of events.
2020-10-21 14:39:35 -04:00

13 lines
352 B
Plaintext

:: .configuration/pill +configure-hosting
::
:: boot king haskell with `--inject-event-list /path/to/configuration.pill`
::
:- %say
|= [[now=@da @ our=@p ^] *]
:- %noun
:~ [//term/1 %belt %txt "|unlink %chat-cli"]
[//term/1 %belt %ret 0]
[//term/1 %belt %txt "|cors-approve 'https://horizon.tlon.network'"]
[//term/1 %belt %ret 0]
==