shrub/pkg/arvo/gen/hood/story-set.hoon

18 lines
546 B
Plaintext
Raw Normal View History

2021-11-27 04:53:20 +03:00
::
::::
::
2022-01-30 23:58:35 +03:00
/- *story
2021-11-27 04:53:20 +03:00
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
[[syd=desk =prose ~] cas=case ~]
2021-11-27 04:53:20 +03:00
==
::
:: Add a commit message to a given case on a given desk (modifies in place)
::
=/ our p.bec
=? cas =(*case cas) [%da now] :: set current commit when cas not provided
2022-01-26 19:41:22 +03:00
=/ tak .^(tako:clay %cs /(scot %p our)/[syd]/(scot cas)/tako/~)
=/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
2022-01-26 19:41:22 +03:00
=. tale (~(put ju tale) tak prose)
2021-11-27 04:53:20 +03:00
:- %helm-pass
[%c [%info syd %& [/story %ins story+!>(tale)]~]]