Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save IronGremlin/237a2a7faa2dfb23a1b73cba32a1f166 to your computer and use it in GitHub Desktop.
Save IronGremlin/237a2a7faa2dfb23a1b73cba32a1f166 to your computer and use it in GitHub Desktop.
dynamic help
/help
--programA/
----docs/
------docmarkup.doc
------docchoices.choice
-------/choiceA
-------/choiceB
where docmarkup is the text for this step
.choice is just a line delimited list of the following:
"Pick your nose :" ./choiceA
"Do nothing :" ./choiceB
"go Home:" ..
Haskell program reads .doc and .choice and dynamically spits out a list of options for the user, user picks options, program navigates to the corresponding Dir and starts over
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment