Last active
March 29, 2018 09:21
-
-
Save stevepeak/7abbac89f4203c4f3d53ed8c9d514559 to your computer and use it in GitHub Desktop.
*Note* You must update in `docker-compose.yml` under `demo.env.STORY_URL` to the new raw version.
This file contains hidden or 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
# Write your Stories in Storyscript and | |
# Asyncy will execute them by choreographing microservices. | |
# What is your email? | |
email = "" | |
you = fullcontact person --email email | |
if you.twitter | |
handler = python -c 'print("{{you.twitter}}".split("/")[-1])' | |
twitter follow handler | |
twitter tweet 'Welcome to Asyncy @{{handler}}, you just ran your first story.' | |
if you.website | |
pageres `/shots` you.website '1024x768' --filename 'screenshot' | |
res = file-io `/shots/screenshot.png` | |
log "Your screenshot is at https://file.io/{{res.key}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment