mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 01:01:37 +03:00
story: cleanup
This commit is contained in:
parent
a0cc6d8980
commit
8787c43c83
@ -1,7 +1,7 @@
|
|||||||
/- *story
|
|
||||||
::
|
::
|
||||||
::::
|
::::
|
||||||
::
|
::
|
||||||
|
/- *story
|
||||||
:- %say
|
:- %say
|
||||||
|= $: [now=@da eny=@uvJ bec=beak]
|
|= $: [now=@da eny=@uvJ bec=beak]
|
||||||
[[~] =desk overwrite=_| ~]
|
[[~] =desk overwrite=_| ~]
|
||||||
@ -13,7 +13,8 @@
|
|||||||
=? desk =(*^desk desk) q.bec :: use current desk if user didn't provide
|
=? 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 .^(? %cu /(scot %p our)/[desk]/(scot %da now)/story)
|
||||||
?: ?&(existing-story !overwrite)
|
?: ?&(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 ~]
|
:- %helm-pass [%d %noop ~]
|
||||||
=| tale=story
|
=| tale=story
|
||||||
:- %helm-pass
|
:- %helm-pass
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/- *story
|
|
||||||
::
|
::
|
||||||
::::
|
::::
|
||||||
::
|
::
|
||||||
|
/- *story
|
||||||
:- %say
|
:- %say
|
||||||
|= $: [now=@da eny=@uvJ bec=beak]
|
|= $: [now=@da eny=@uvJ bec=beak]
|
||||||
[[syd=desk =prose ~] cas=case ~]
|
[[syd=desk =prose ~] cas=case ~]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/- *story
|
|
||||||
::
|
::
|
||||||
::::
|
::::
|
||||||
::
|
::
|
||||||
|
/- *story
|
||||||
:- %say
|
:- %say
|
||||||
|= $: [now=@da eny=@uvJ bec=beak]
|
|= $: [now=@da eny=@uvJ bec=beak]
|
||||||
[[syd=desk ~] ~]
|
[[syd=desk ~] ~]
|
||||||
|
@ -2,7 +2,4 @@
|
|||||||
|%
|
|%
|
||||||
+$ prose [title=@t body=@t]
|
+$ prose [title=@t body=@t]
|
||||||
+$ story (jug tako:clay prose)
|
+$ 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