{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/vert.x/pulls/comments/39374904","id":39374904,"diff_hunk":"@@ -0,0 +1,238 @@\n+/*\n+ *  Copyright (c) 2011-2013 The original author or authors\n+ *  ------------------------------------------------------\n+ *  All rights reserved. This program and the accompanying materials\n+ *  are made available under the terms of the Eclipse Public License v1.0\n+ *  and Apache License v2.0 which accompanies this distribution.\n+ *\n+ *       The Eclipse Public License is available at\n+ *       http://www.eclipse.org/legal/epl-v10.html\n+ *\n+ *       The Apache License v2.0 is available at\n+ *       http://www.opensource.org/licenses/apache2.0.php\n+ *\n+ *  You may elect to redistribute this code under either of these licenses.\n+ */\n+\n+package io.vertx.core.cli;\n+\n+import io.vertx.codegen.annotations.DataObject;\n+import io.vertx.core.json.JsonObject;\n+\n+import java.util.Objects;\n+\n+/**\n+ * Defines a command line argument. Unlike options, argument don't have names and are identified using an index. The\n+ * first index is 0 (because we are in the computer world).\n+ *\n+ * @author Clement Escoffier <clement@apache.org>\n+ * @see OptionModel\n+ */\n+@DataObject(generateConverter = true)\n+public class ArgumentModel {","path":"src/main/java/io/vertx/core/cli/ArgumentModel.java","position":32,"original_position":32,"commit_id":"9e8b5f6c62df11dc301bba8f54c5ba87f021597b","original_commit_id":"9e8b5f6c62df11dc301bba8f54c5ba87f021597b","user":{"login":"vietj","id":225674,"avatar_url":"https://avatars.githubusercontent.com/u/225674?v=3","gravatar_id":"","url":"https://api.github.com/users/vietj","html_url":"https://github.com/vietj","followers_url":"https://api.github.com/users/vietj/followers","following_url":"https://api.github.com/users/vietj/following{/other_user}","gists_url":"https://api.github.com/users/vietj/gists{/gist_id}","starred_url":"https://api.github.com/users/vietj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietj/subscriptions","organizations_url":"https://api.github.com/users/vietj/orgs","repos_url":"https://api.github.com/users/vietj/repos","events_url":"https://api.github.com/users/vietj/events{/privacy}","received_events_url":"https://api.github.com/users/vietj/received_events","type":"User","site_admin":false},"body":"Why not name this \"Argument\" instead of \"ArgumentModel\" ? besides TypedArgument that extends it is not named \"TypeArgumentModel\".","created_at":"2015-09-14T09:28:27Z","updated_at":"2015-09-14T09:28:27Z","html_url":"https://github.com/eclipse/vert.x/pull/1135#discussion_r39374904","pull_request_url":"https://api.github.com/repos/eclipse/vert.x/pulls/1135","_links":{"self":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/comments/39374904"},"html":{"href":"https://github.com/eclipse/vert.x/pull/1135#discussion_r39374904"},"pull_request":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/1135"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/vert.x/pulls/1135","id":44895869,"html_url":"https://github.com/eclipse/vert.x/pull/1135","diff_url":"https://github.com/eclipse/vert.x/pull/1135.diff","patch_url":"https://github.com/eclipse/vert.x/pull/1135.patch","issue_url":"https://api.github.com/repos/eclipse/vert.x/issues/1135","number":1135,"state":"open","locked":false,"title":"Provide the CLI system","user":{"login":"cescoffier","id":402301,"avatar_url":"https://avatars.githubusercontent.com/u/402301?v=3","gravatar_id":"","url":"https://api.github.com/users/cescoffier","html_url":"https://github.com/cescoffier","followers_url":"https://api.github.com/users/cescoffier/followers","following_url":"https://api.github.com/users/cescoffier/following{/other_user}","gists_url":"https://api.github.com/users/cescoffier/gists{/gist_id}","starred_url":"https://api.github.com/users/cescoffier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cescoffier/subscriptions","organizations_url":"https://api.github.com/users/cescoffier/orgs","repos_url":"https://api.github.com/users/cescoffier/repos","events_url":"https://api.github.com/users/cescoffier/events{/privacy}","received_events_url":"https://api.github.com/users/cescoffier/received_events","type":"User","site_admin":false},"body":"Implement the new CLI system\r\n\r\nThis PR contains:\r\n\r\n* the CLI model\r\n* the parser\r\n* annotations usable from java\r\n* tests\r\n\r\n","created_at":"2015-09-14T06:11:35Z","updated_at":"2015-09-14T09:28:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76647a48ab7c3134c4b7264a22302884c2151fd1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/vert.x/pulls/1135/commits","review_comments_url":"https://api.github.com/repos/eclipse/vert.x/pulls/1135/comments","review_comment_url":"https://api.github.com/repos/eclipse/vert.x/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/vert.x/issues/1135/comments","statuses_url":"https://api.github.com/repos/eclipse/vert.x/statuses/9e8b5f6c62df11dc301bba8f54c5ba87f021597b","head":{"label":"cescoffier:cli","ref":"cli","sha":"9e8b5f6c62df11dc301bba8f54c5ba87f021597b","user":{"login":"cescoffier","id":402301,"avatar_url":"https://avatars.githubusercontent.com/u/402301?v=3","gravatar_id":"","url":"https://api.github.com/users/cescoffier","html_url":"https://github.com/cescoffier","followers_url":"https://api.github.com/users/cescoffier/followers","following_url":"https://api.github.com/users/cescoffier/following{/other_user}","gists_url":"https://api.github.com/users/cescoffier/gists{/gist_id}","starred_url":"https://api.github.com/users/cescoffier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cescoffier/subscriptions","organizations_url":"https://api.github.com/users/cescoffier/orgs","repos_url":"https://api.github.com/users/cescoffier/repos","events_url":"https://api.github.com/users/cescoffier/events{/privacy}","received_events_url":"https://api.github.com/users/cescoffier/received_events","type":"User","site_admin":false},"repo":{"id":36276161,"name":"vert.x","full_name":"cescoffier/vert.x","owner":{"login":"cescoffier","id":402301,"avatar_url":"https://avatars.githubusercontent.com/u/402301?v=3","gravatar_id":"","url":"https://api.github.com/users/cescoffier","html_url":"https://github.com/cescoffier","followers_url":"https://api.github.com/users/cescoffier/followers","following_url":"https://api.github.com/users/cescoffier/following{/other_user}","gists_url":"https://api.github.com/users/cescoffier/gists{/gist_id}","starred_url":"https://api.github.com/users/cescoffier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cescoffier/subscriptions","organizations_url":"https://api.github.com/users/cescoffier/orgs","repos_url":"https://api.github.com/users/cescoffier/repos","events_url":"https://api.github.com/users/cescoffier/events{/privacy}","received_events_url":"https://api.github.com/users/cescoffier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cescoffier/vert.x","description":"vert.x - The scalable polyglot application platform for the JVM","fork":true,"url":"https://api.github.com/repos/cescoffier/vert.x","forks_url":"https://api.github.com/repos/cescoffier/vert.x/forks","keys_url":"https://api.github.com/repos/cescoffier/vert.x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cescoffier/vert.x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cescoffier/vert.x/teams","hooks_url":"https://api.github.com/repos/cescoffier/vert.x/hooks","issue_events_url":"https://api.github.com/repos/cescoffier/vert.x/issues/events{/number}","events_url":"https://api.github.com/repos/cescoffier/vert.x/events","assignees_url":"https://api.github.com/repos/cescoffier/vert.x/assignees{/user}","branches_url":"https://api.github.com/repos/cescoffier/vert.x/branches{/branch}","tags_url":"https://api.github.com/repos/cescoffier/vert.x/tags","blobs_url":"https://api.github.com/repos/cescoffier/vert.x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cescoffier/vert.x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cescoffier/vert.x/git/refs{/sha}","trees_url":"https://api.github.com/repos/cescoffier/vert.x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cescoffier/vert.x/statuses/{sha}","languages_url":"https://api.github.com/repos/cescoffier/vert.x/languages","stargazers_url":"https://api.github.com/repos/cescoffier/vert.x/stargazers","contributors_url":"https://api.github.com/repos/cescoffier/vert.x/contributors","subscribers_url":"https://api.github.com/repos/cescoffier/vert.x/subscribers","subscription_url":"https://api.github.com/repos/cescoffier/vert.x/subscription","commits_url":"https://api.github.com/repos/cescoffier/vert.x/commits{/sha}","git_commits_url":"https://api.github.com/repos/cescoffier/vert.x/git/commits{/sha}","comments_url":"https://api.github.com/repos/cescoffier/vert.x/comments{/number}","issue_comment_url":"https://api.github.com/repos/cescoffier/vert.x/issues/comments{/number}","contents_url":"https://api.github.com/repos/cescoffier/vert.x/contents/{+path}","compare_url":"https://api.github.com/repos/cescoffier/vert.x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cescoffier/vert.x/merges","archive_url":"https://api.github.com/repos/cescoffier/vert.x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cescoffier/vert.x/downloads","issues_url":"https://api.github.com/repos/cescoffier/vert.x/issues{/number}","pulls_url":"https://api.github.com/repos/cescoffier/vert.x/pulls{/number}","milestones_url":"https://api.github.com/repos/cescoffier/vert.x/milestones{/number}","notifications_url":"https://api.github.com/repos/cescoffier/vert.x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cescoffier/vert.x/labels{/name}","releases_url":"https://api.github.com/repos/cescoffier/vert.x/releases{/id}","created_at":"2015-05-26T06:16:12Z","updated_at":"2015-05-26T06:16:15Z","pushed_at":"2015-09-14T06:09:35Z","git_url":"git://github.com/cescoffier/vert.x.git","ssh_url":"git@github.com:cescoffier/vert.x.git","clone_url":"https://github.com/cescoffier/vert.x.git","svn_url":"https://github.com/cescoffier/vert.x","homepage":"","size":93873,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"7eedb314fe1e6f4d5962088d084b13b75abe7214","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":1911523,"name":"vert.x","full_name":"eclipse/vert.x","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/vert.x","description":"Vert.x is a tool-kit for building reactive applications on the JVM","fork":false,"url":"https://api.github.com/repos/eclipse/vert.x","forks_url":"https://api.github.com/repos/eclipse/vert.x/forks","keys_url":"https://api.github.com/repos/eclipse/vert.x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/vert.x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/vert.x/teams","hooks_url":"https://api.github.com/repos/eclipse/vert.x/hooks","issue_events_url":"https://api.github.com/repos/eclipse/vert.x/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/vert.x/events","assignees_url":"https://api.github.com/repos/eclipse/vert.x/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/vert.x/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/vert.x/tags","blobs_url":"https://api.github.com/repos/eclipse/vert.x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/vert.x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/vert.x/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/vert.x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/vert.x/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/vert.x/languages","stargazers_url":"https://api.github.com/repos/eclipse/vert.x/stargazers","contributors_url":"https://api.github.com/repos/eclipse/vert.x/contributors","subscribers_url":"https://api.github.com/repos/eclipse/vert.x/subscribers","subscription_url":"https://api.github.com/repos/eclipse/vert.x/subscription","commits_url":"https://api.github.com/repos/eclipse/vert.x/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/vert.x/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/vert.x/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/vert.x/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/vert.x/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/vert.x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/vert.x/merges","archive_url":"https://api.github.com/repos/eclipse/vert.x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/vert.x/downloads","issues_url":"https://api.github.com/repos/eclipse/vert.x/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/vert.x/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/vert.x/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/vert.x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/vert.x/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/vert.x/releases{/id}","created_at":"2011-06-17T14:54:55Z","updated_at":"2015-09-14T01:22:00Z","pushed_at":"2015-09-14T08:49:52Z","git_url":"git://github.com/eclipse/vert.x.git","ssh_url":"git@github.com:eclipse/vert.x.git","clone_url":"https://github.com/eclipse/vert.x.git","svn_url":"https://github.com/eclipse/vert.x","homepage":"http://vertx.io","size":380603,"stargazers_count":3969,"watchers_count":3969,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":784,"mirror_url":null,"open_issues_count":12,"forks":784,"open_issues":12,"watchers":3969,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/1135"},"html":{"href":"https://github.com/eclipse/vert.x/pull/1135"},"issue":{"href":"https://api.github.com/repos/eclipse/vert.x/issues/1135"},"comments":{"href":"https://api.github.com/repos/eclipse/vert.x/issues/1135/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/1135/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/1135/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/vert.x/statuses/9e8b5f6c62df11dc301bba8f54c5ba87f021597b"}}}}