{"action":"created","comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments/36227055","id":36227055,"diff_hunk":"@@ -0,0 +1,161 @@\n+#compdef terraform\n+\n+local -a _terraform_cmds\n+_terraform_cmds=(\n+    'apply:Builds or changes infrastructure'\n+    'destroy:Destroy Terraform-managed infrastructure'\n+    'get:Download and install modules for the configuration'\n+    'graph:Create a visual graph of Terraform resources'\n+    'init:Initializes Terraform configuration from a module'\n+    'output:Read an output from a state file'\n+    'plan:Generate and show an execution plan'\n+    'pull:Refreshes the local state copy from the remote server'\n+    'push:Uploads the local state to the remote server'\n+    'refresh:Update local state file against real resources'\n+    'remote:Configures remote state management'\n+    'taint:Manually forcing a destroy and recreate on the next plan/apply'\n+    'show:Inspect Terraform state or plan'\n+    'version:Prints the Terraform version'\n+)\n+\n+__apply() {\n+    _arguments \\\n+        '-backup=[(path) Path to backup the existing state file before modifying. Defaults to the \"-state-out\" path with \".backup\" extension. Set to \"-\" to disable backup.]' \\\n+        '-input=[(true) Ask for input for variables if not directly set.]' \\\n+        '-no-color[If specified, output will not contain any color.]' \\\n+        '-refresh=[(true) Update state prior to checking for differences. This has no effect if a plan file is given to apply.]' \\\n+        '-state=[(path) Path to read and save state (unless state-out is specified). Defaults to \"terraform.tfstate\".]' \\\n+        '-state-out=[(path) Path to write state to that is different than \"-state\". This can be used to preserve the old state.]' \\","path":"plugins/terraform/_terraform","position":28,"original_position":28,"commit_id":"7f3e6143ec03fd0b2558027783b375d42ceb3e4d","original_commit_id":"7f3e6143ec03fd0b2558027783b375d42ceb3e4d","user":{"login":"pmoust","id":2493339,"avatar_url":"https://avatars.githubusercontent.com/u/2493339?v=3","gravatar_id":"","url":"https://api.github.com/users/pmoust","html_url":"https://github.com/pmoust","followers_url":"https://api.github.com/users/pmoust/followers","following_url":"https://api.github.com/users/pmoust/following{/other_user}","gists_url":"https://api.github.com/users/pmoust/gists{/gist_id}","starred_url":"https://api.github.com/users/pmoust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmoust/subscriptions","organizations_url":"https://api.github.com/users/pmoust/orgs","repos_url":"https://api.github.com/users/pmoust/repos","events_url":"https://api.github.com/users/pmoust/events{/privacy}","received_events_url":"https://api.github.com/users/pmoust/received_events","type":"User","site_admin":false},"body":"`-target` is missing","created_at":"2015-08-04T18:52:32Z","updated_at":"2015-08-04T18:52:32Z","html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4216#discussion_r36227055","pull_request_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4216","_links":{"self":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments/36227055"},"html":{"href":"https://github.com/robbyrussell/oh-my-zsh/pull/4216#discussion_r36227055"},"pull_request":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4216"}}},"pull_request":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4216","id":41602974,"html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4216","diff_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4216.diff","patch_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4216.patch","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4216","number":4216,"state":"open","locked":false,"title":"Add terraform completion","user":{"login":"gkze","id":3131232,"avatar_url":"https://avatars.githubusercontent.com/u/3131232?v=3","gravatar_id":"","url":"https://api.github.com/users/gkze","html_url":"https://github.com/gkze","followers_url":"https://api.github.com/users/gkze/followers","following_url":"https://api.github.com/users/gkze/following{/other_user}","gists_url":"https://api.github.com/users/gkze/gists{/gist_id}","starred_url":"https://api.github.com/users/gkze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkze/subscriptions","organizations_url":"https://api.github.com/users/gkze/orgs","repos_url":"https://api.github.com/users/gkze/repos","events_url":"https://api.github.com/users/gkze/events{/privacy}","received_events_url":"https://api.github.com/users/gkze/received_events","type":"User","site_admin":false},"body":"Recreating https://github.com/robbyrussell/oh-my-zsh/pull/3499\r\n\r\nCC @pmoust @robbyrussell @dlsniper","created_at":"2015-08-04T18:43:11Z","updated_at":"2015-08-04T18:52:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8724e7652d5fae1789515ba57720c9cff67028c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4216/commits","review_comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4216/comments","review_comment_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4216/comments","statuses_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/statuses/7f3e6143ec03fd0b2558027783b375d42ceb3e4d","head":{"label":"gkze:master","ref":"master","sha":"7f3e6143ec03fd0b2558027783b375d42ceb3e4d","user":{"login":"gkze","id":3131232,"avatar_url":"https://avatars.githubusercontent.com/u/3131232?v=3","gravatar_id":"","url":"https://api.github.com/users/gkze","html_url":"https://github.com/gkze","followers_url":"https://api.github.com/users/gkze/followers","following_url":"https://api.github.com/users/gkze/following{/other_user}","gists_url":"https://api.github.com/users/gkze/gists{/gist_id}","starred_url":"https://api.github.com/users/gkze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkze/subscriptions","organizations_url":"https://api.github.com/users/gkze/orgs","repos_url":"https://api.github.com/users/gkze/repos","events_url":"https://api.github.com/users/gkze/events{/privacy}","received_events_url":"https://api.github.com/users/gkze/received_events","type":"User","site_admin":false},"repo":{"id":40201835,"name":"oh-my-zsh","full_name":"gkze/oh-my-zsh","owner":{"login":"gkze","id":3131232,"avatar_url":"https://avatars.githubusercontent.com/u/3131232?v=3","gravatar_id":"","url":"https://api.github.com/users/gkze","html_url":"https://github.com/gkze","followers_url":"https://api.github.com/users/gkze/followers","following_url":"https://api.github.com/users/gkze/following{/other_user}","gists_url":"https://api.github.com/users/gkze/gists{/gist_id}","starred_url":"https://api.github.com/users/gkze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkze/subscriptions","organizations_url":"https://api.github.com/users/gkze/orgs","repos_url":"https://api.github.com/users/gkze/repos","events_url":"https://api.github.com/users/gkze/events{/privacy}","received_events_url":"https://api.github.com/users/gkze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gkze/oh-my-zsh","description":"A delightful community-driven framework for managing your zsh configuration. Includes 180+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.","fork":true,"url":"https://api.github.com/repos/gkze/oh-my-zsh","forks_url":"https://api.github.com/repos/gkze/oh-my-zsh/forks","keys_url":"https://api.github.com/repos/gkze/oh-my-zsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gkze/oh-my-zsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gkze/oh-my-zsh/teams","hooks_url":"https://api.github.com/repos/gkze/oh-my-zsh/hooks","issue_events_url":"https://api.github.com/repos/gkze/oh-my-zsh/issues/events{/number}","events_url":"https://api.github.com/repos/gkze/oh-my-zsh/events","assignees_url":"https://api.github.com/repos/gkze/oh-my-zsh/assignees{/user}","branches_url":"https://api.github.com/repos/gkze/oh-my-zsh/branches{/branch}","tags_url":"https://api.github.com/repos/gkze/oh-my-zsh/tags","blobs_url":"https://api.github.com/repos/gkze/oh-my-zsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gkze/oh-my-zsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gkze/oh-my-zsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/gkze/oh-my-zsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gkze/oh-my-zsh/statuses/{sha}","languages_url":"https://api.github.com/repos/gkze/oh-my-zsh/languages","stargazers_url":"https://api.github.com/repos/gkze/oh-my-zsh/stargazers","contributors_url":"https://api.github.com/repos/gkze/oh-my-zsh/contributors","subscribers_url":"https://api.github.com/repos/gkze/oh-my-zsh/subscribers","subscription_url":"https://api.github.com/repos/gkze/oh-my-zsh/subscription","commits_url":"https://api.github.com/repos/gkze/oh-my-zsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/gkze/oh-my-zsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/gkze/oh-my-zsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/gkze/oh-my-zsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/gkze/oh-my-zsh/contents/{+path}","compare_url":"https://api.github.com/repos/gkze/oh-my-zsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gkze/oh-my-zsh/merges","archive_url":"https://api.github.com/repos/gkze/oh-my-zsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gkze/oh-my-zsh/downloads","issues_url":"https://api.github.com/repos/gkze/oh-my-zsh/issues{/number}","pulls_url":"https://api.github.com/repos/gkze/oh-my-zsh/pulls{/number}","milestones_url":"https://api.github.com/repos/gkze/oh-my-zsh/milestones{/number}","notifications_url":"https://api.github.com/repos/gkze/oh-my-zsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gkze/oh-my-zsh/labels{/name}","releases_url":"https://api.github.com/repos/gkze/oh-my-zsh/releases{/id}","created_at":"2015-08-04T18:23:27Z","updated_at":"2015-08-04T18:23:30Z","pushed_at":"2015-08-04T18:42:33Z","git_url":"git://github.com/gkze/oh-my-zsh.git","ssh_url":"git@github.com:gkze/oh-my-zsh.git","clone_url":"https://github.com/gkze/oh-my-zsh.git","svn_url":"https://github.com/gkze/oh-my-zsh","homepage":"http://ohmyz.sh/","size":26694,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"robbyrussell:master","ref":"master","sha":"3d5b3430fd9da12f6e33f534e487fe9b18928ac7","user":{"login":"robbyrussell","id":257,"avatar_url":"https://avatars.githubusercontent.com/u/257?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyrussell","html_url":"https://github.com/robbyrussell","followers_url":"https://api.github.com/users/robbyrussell/followers","following_url":"https://api.github.com/users/robbyrussell/following{/other_user}","gists_url":"https://api.github.com/users/robbyrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyrussell/subscriptions","organizations_url":"https://api.github.com/users/robbyrussell/orgs","repos_url":"https://api.github.com/users/robbyrussell/repos","events_url":"https://api.github.com/users/robbyrussell/events{/privacy}","received_events_url":"https://api.github.com/users/robbyrussell/received_events","type":"User","site_admin":false},"repo":{"id":291137,"name":"oh-my-zsh","full_name":"robbyrussell/oh-my-zsh","owner":{"login":"robbyrussell","id":257,"avatar_url":"https://avatars.githubusercontent.com/u/257?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyrussell","html_url":"https://github.com/robbyrussell","followers_url":"https://api.github.com/users/robbyrussell/followers","following_url":"https://api.github.com/users/robbyrussell/following{/other_user}","gists_url":"https://api.github.com/users/robbyrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyrussell/subscriptions","organizations_url":"https://api.github.com/users/robbyrussell/orgs","repos_url":"https://api.github.com/users/robbyrussell/repos","events_url":"https://api.github.com/users/robbyrussell/events{/privacy}","received_events_url":"https://api.github.com/users/robbyrussell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbyrussell/oh-my-zsh","description":"A delightful community-driven framework for managing your zsh configuration. Includes 180+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.","fork":false,"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh","forks_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/forks","keys_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/teams","hooks_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/hooks","issue_events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/events{/number}","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/events","assignees_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/assignees{/user}","branches_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/branches{/branch}","tags_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/tags","blobs_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/statuses/{sha}","languages_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/languages","stargazers_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/stargazers","contributors_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/contributors","subscribers_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/subscribers","subscription_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/subscription","commits_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/contents/{+path}","compare_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/merges","archive_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/downloads","issues_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues{/number}","pulls_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls{/number}","milestones_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/milestones{/number}","notifications_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/labels{/name}","releases_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/releases{/id}","created_at":"2009-08-28T18:15:37Z","updated_at":"2015-08-04T18:21:48Z","pushed_at":"2015-08-04T18:43:11Z","git_url":"git://github.com/robbyrussell/oh-my-zsh.git","ssh_url":"git@github.com:robbyrussell/oh-my-zsh.git","clone_url":"https://github.com/robbyrussell/oh-my-zsh.git","svn_url":"https://github.com/robbyrussell/oh-my-zsh","homepage":"http://ohmyz.sh/","size":26694,"stargazers_count":26429,"watchers_count":26429,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7921,"mirror_url":null,"open_issues_count":616,"forks":7921,"open_issues":616,"watchers":26429,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4216"},"html":{"href":"https://github.com/robbyrussell/oh-my-zsh/pull/4216"},"issue":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4216"},"comments":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4216/comments"},"review_comments":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4216/comments"},"review_comment":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4216/commits"},"statuses":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/statuses/7f3e6143ec03fd0b2558027783b375d42ceb3e4d"}}}}