Created
May 23, 2017 18:31
-
-
Save IronGremlin/237a2a7faa2dfb23a1b73cba32a1f166 to your computer and use it in GitHub Desktop.
dynamic help
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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