-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimize command simulator auto-generation #1078
Conversation
7f8f9e1
to
90e3b86
Compare
holy awesome awesomeness :) this is so cool chris. i would love it if you could walk me through how you did all the updates sometime whenever you have time :) |
reading the user's input, and displaying it. App then explained she could take that final user input sent over by xterm and | ||
and transform it into a regular expression, which she could then use to match against the information in the commandsjson file, | ||
and transform it into a regular expression, which she could then use to match against the information in the `commands.json` file, | ||
matching the user's input against the key and then retrieving the associated value's txt file. | ||
And it was so. :) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably remove my silly paragraph above here and just explain how it works normally, now that's it's so awesome :) no one wants to read a whole paragraph thing; that was just the result of wine + code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was not sure, I liked the idea somehow, but we could shorten that up a bit :-)
90e3b86
to
06318f2
Compare
@vjeffrey Thanks for the feedback, I added an empty profile directory to this PR. Therefore the script should now work trough. |
👍 works wonderfully :) |
06318f2
to
f54fa7b
Compare
bundle exec rake update_demo
from the root, and everything is magic thenapp/responses
commands.json
andextra_commands.json
www/turorial/scripts