story: add generator help text

This commit is contained in:
Yaseen 2022-02-18 17:40:55 -05:00
parent 61ca368f28
commit 9d85401832
5 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,4 @@
:: story: Create a story file for a given desk, optionally overwriting an existing one
::
::::
::
@ -7,7 +8,6 @@
[[~] =desk overwrite=_| ~]
==
::
:: Create a story file for a given desk
::
=/ our p.bec
=? desk =(*^desk desk) q.bec :: use current desk if user didn't provide

View File

@ -1,3 +1,4 @@
:: story: Remove any commit message(s) for a given desk, optionally targeting a specific case or prose
::
::::
::
@ -7,8 +8,6 @@
[[syd=desk ~] cas=case prz=prose ~]
==
::
:: Remove any commit message(s) for a given desk, optionally targeting a specific case or prose
::
:: XX: story set and story init both have desk and case as optional.
:: however, it seems a bit odd to allow both optional here
:: since we're dealing with a more hazardous operation.

View File

@ -1,3 +1,4 @@
:: story: Attach a commit message to the commit associated with a given case on a given desk
::
::::
::
@ -7,7 +8,7 @@
[[=prose ~] =desk cas=case ~]
==
::
:: Add a commit message to a given case on a given desk. Stores conflicting messages.
::
::
=/ our p.bec
=? desk =(*^desk desk) q.bec :: use current desk if user didn't provide

View File

@ -1,3 +1,4 @@
:: story: (Internal) List all commit messages for the given desk including orphans
::
::::
::
@ -6,10 +7,6 @@
|= $: [now=@da eny=@uvJ bec=beak]
[[~] =desk ~]
==
::
:: (Internal) List all commit messages for the given desk,
:: including orphans (i.e. ones that have no connection to the file graph)
::
=/ our p.bec
=? desk =(*^desk desk) q.bec :: use current desk if user didn't provide
=/ tale=story .^(story %cx /(scot %p our)/[desk]/(scot %da now)/story)

View File

@ -1,3 +1,4 @@
:: story: log commits in order
::
::::
::