-
Notifications
You must be signed in to change notification settings - Fork 593
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
Suggestion: A way to create live demos #282
Comments
You're right, recording the GIF was definitely a pain! I would love to use tuterm. |
@ajeetdsouza I'll get on it then. For starters, I'll just recreate the existing demo in tuterm. |
Hey @veracioux, did you find time to try this out? I imagine this might be a bit convoluted given that you'd have to showcase the interactive completion feature, but I'm interested in using tuterm for making GIFs. |
@ajeetdsouza I'm sorry, I pushed tuterm aside in favor of other projects. I will get back to this in the weekend. Yes, the interactive completion is a bit tricky, and I may have to implement a new feature (veracioux/tuterm#3) in tuterm for it to work properly. Sorry about this dragging on. |
Thanks for the quick response! Tuterm working on any shell sounds fantastic. |
Closing this for now, feel free to recreate this issue once this feature lands. |
NOTE: I am assuming that the asciicast in the README was created by manually typing out the commands, and then speeding the video up. If you are using something to automate the typing of the commands, you can stop reading.
Disclaimer: This is shameless self-promotion, but I think what I suggest could be useful to the project.
I have created a small bash program that automates the creation of live CLI demos: tuterm.
How it works
You prevent mistakes, make the demo reproducible and easy to change when a new version of zoxide comes out.
Another (IMO even cooler) feature
The same script that runs the demo can be used (with optional modifications) as an interactive tutorial for users. They run the script and tuterm displays the expected command to them. The users are expected to repeat the command, etc. Error checking included.
How I can help
I can recreate the existing demo in the README using this method. Or I can change it based on your feedback. I can also supplement the demo with an interactive tutorial if necessary.
Let me know if your project would benefit from this. Sorry if I am wasting your time with this.
The text was updated successfully, but these errors were encountered: