{"action":"created","issue":{"url":"https://api.github.com/repos/Alluxio/alluxio/issues/7002","repository_url":"https://api.github.com/repos/Alluxio/alluxio","labels_url":"https://api.github.com/repos/Alluxio/alluxio/issues/7002/labels{/name}","comments_url":"https://api.github.com/repos/Alluxio/alluxio/issues/7002/comments","events_url":"https://api.github.com/repos/Alluxio/alluxio/issues/7002/events","html_url":"https://github.com/Alluxio/alluxio/pull/7002","id":309234506,"number":7002,"title":"[ALLUXIO-3139] Alluxio FS Shell cleanup","user":{"login":"apc999","id":1413748,"avatar_url":"https://avatars0.githubusercontent.com/u/1413748?v=4","gravatar_id":"","url":"https://api.github.com/users/apc999","html_url":"https://github.com/apc999","followers_url":"https://api.github.com/users/apc999/followers","following_url":"https://api.github.com/users/apc999/following{/other_user}","gists_url":"https://api.github.com/users/apc999/gists{/gist_id}","starred_url":"https://api.github.com/users/apc999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apc999/subscriptions","organizations_url":"https://api.github.com/users/apc999/orgs","repos_url":"https://api.github.com/users/apc999/repos","events_url":"https://api.github.com/users/apc999/events{/privacy}","received_events_url":"https://api.github.com/users/apc999/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-03-28T06:17:08Z","updated_at":"2018-03-30T22:13:56Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/7002","html_url":"https://github.com/Alluxio/alluxio/pull/7002","diff_url":"https://github.com/Alluxio/alluxio/pull/7002.diff","patch_url":"https://github.com/Alluxio/alluxio/pull/7002.patch"},"body":"https://alluxio.atlassian.net/browse/ALLUXIO-3139\r\n\r\nThis is the first PR to fix a bunch in shell\r\n- `AbstractCommand.getNumOfArgs()` as the required constant number of args is no more meaningful: we have multiple commands take multiple number of args (e.g., mount, help can take 0 or 1). Change `getNumOfArgs` to `checkArgs` so each command can check the args on demand \r\n- Add `getCommands()` to `AbstractShell`, so applications on Alluxio shell can list available commands.\r\n- Totally remove `AbstractCommand` but move to `Command` interface\r\n- some minor text cleanup"},"comment":{"url":"https://api.github.com/repos/Alluxio/alluxio/issues/comments/377635363","html_url":"https://github.com/Alluxio/alluxio/pull/7002#issuecomment-377635363","issue_url":"https://api.github.com/repos/Alluxio/alluxio/issues/7002","id":377635363,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T22:13:56Z","updated_at":"2018-03-30T22:13:56Z","author_association":"NONE","body":"Merged build finished. Test PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}