mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-22 06:11:31 +03:00
story: add generator |story-init
This commit is contained in:
parent
2626c32085
commit
077c23b9e7
15
pkg/arvo/gen/hood/story-init.hoon
Normal file
15
pkg/arvo/gen/hood/story-init.hoon
Normal file
@ -0,0 +1,15 @@
|
||||
::
|
||||
::::
|
||||
::
|
||||
:- %say
|
||||
|= $: [now=@da eny=@uvJ bec=beak]
|
||||
[[~] =desk ~]
|
||||
==
|
||||
::
|
||||
:: Create a story file for a given desk
|
||||
::
|
||||
=/ our p.bec
|
||||
=? desk =(*^desk desk) q.bec :: use current desk if user didn't provide
|
||||
=| tale=(map tako:clay [@t @t])
|
||||
:- %helm-pass
|
||||
[%c [%info desk %& [/story %ins story+!>(tale)]~]]
|
Loading…
Reference in New Issue
Block a user