mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 13:06:09 +03:00
gen: add +sponsor generator
Add a new generator +sponsor that encapsulates the logic of invoking `(sein:title our now our)` to get the sponsor of the current ship.
This commit is contained in:
parent
a9d6811299
commit
4a4e220e11
5
pkg/arvo/gen/sponsor.hoon
Normal file
5
pkg/arvo/gen/sponsor.hoon
Normal file
@ -0,0 +1,5 @@
|
||||
:: Print the sponsor of this ship
|
||||
:- %say
|
||||
|= [[now=time @ our=ship ^] * ~]
|
||||
:- %ship
|
||||
(sein:title our now our)
|
Loading…
Reference in New Issue
Block a user