Follow this tutorial. You’re welcome to use more creative module, function and variable names than I did :)
Once you complete it, type this command to write your terminal history to a text file:
history > my_history.txt
Upload the file my_history.txt
to Slack and @mention me for credit.