Skip to content

Instantly share code, notes, and snippets.

@podanypepa
Last active November 25, 2019 07:18
Show Gist options
  • Save podanypepa/29bf3e84e7e351ffa8852667ecb69ed0 to your computer and use it in GitHub Desktop.
Save podanypepa/29bf3e84e7e351ffa8852667ecb69ed0 to your computer and use it in GitHub Desktop.
tell application "iTerm2"
set newWindow to (create window with default profile)
tell current session of newWindow
write text "cd ~/apphosting.io/core/cmd/mngr\n"
write text "go run *.go\n"
end tell
set newWindow to (create window with default profile)
tell current session of newWindow
write text "cd ~/apphosting.io/core/cmd/clone\n"
write text "go run *.go\n"
end tell
set newWindow to (create window with default profile)
tell current session of newWindow
write text "cd ~/apphosting.io/core/cmd/backend\n"
write text "go run *.go\n"
end tell
set newWindow to (create window with default profile)
tell current session of newWindow
write text "cd ~/apphosting.io/core/cmd/run\n"
write text "go run *.go\n"
end tell
set newWindow to (create window with default profile)
tell current session of newWindow
write text "cd ~/apphosting.io/core/cmd/build\n"
write text "go run *.go\n"
end tell
set newWindow to (create window with default profile)
tell current session of newWindow
write text "cd ~/apphosting.io/core/cmd/proxy\n"
write text "go run *.go\n"
end tell
set newWindow to (create window with default profile)
tell current session of newWindow
write text "cd ~/apphosting.io/web\n"
write text "npm run start\n"
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment