mirror of
https://github.com/urbit/shrub.git
synced 2024-12-18 15:55:00 +03:00
story: cleanup
This commit is contained in:
parent
a0cc6d8980
commit
8787c43c83
@ -1,7 +1,7 @@
|
||||
/- *story
|
||||
::
|
||||
::::
|
||||
::
|
||||
/- *story
|
||||
:- %say
|
||||
|= $: [now=@da eny=@uvJ bec=beak]
|
||||
[[~] =desk overwrite=_| ~]
|
||||
@ -13,7 +13,8 @@
|
||||
=? desk =(*^desk desk) q.bec :: use current desk if user didn't provide
|
||||
=/ existing-story .^(? %cu /(scot %p our)/[desk]/(scot %da now)/story)
|
||||
?: ?&(existing-story !overwrite)
|
||||
~& "Error: {<desk>}/story already exists. Set the optional parameter `overwrite` to `%.y` to forcibly wipe"
|
||||
~& >> "Error: {<desk>}/story already exists. Set the optional parameter `overwrite` to `%.y` to forcibly wipe"
|
||||
:: XX could use a better way to noop
|
||||
:- %helm-pass [%d %noop ~]
|
||||
=| tale=story
|
||||
:- %helm-pass
|
||||
|
@ -1,7 +1,7 @@
|
||||
/- *story
|
||||
::
|
||||
::::
|
||||
::
|
||||
/- *story
|
||||
:- %say
|
||||
|= $: [now=@da eny=@uvJ bec=beak]
|
||||
[[syd=desk =prose ~] cas=case ~]
|
||||
|
@ -1,7 +1,7 @@
|
||||
/- *story
|
||||
::
|
||||
::::
|
||||
::
|
||||
/- *story
|
||||
:- %say
|
||||
|= $: [now=@da eny=@uvJ bec=beak]
|
||||
[[syd=desk ~] ~]
|
||||
|
@ -2,7 +2,4 @@
|
||||
|%
|
||||
+$ prose [title=@t body=@t]
|
||||
+$ story (jug tako:clay prose)
|
||||
:: If, for a given set of proses ~(get ju tak), where tak is a tako:clay,
|
||||
:: (lent ~(tap in proses)) is greater than 1, it means there are multiple conflicting
|
||||
:: messages associated with the given tak.
|
||||
--
|
Loading…
Reference in New Issue
Block a user