{"action":"created","comment":{"url":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/comments/39810493","id":39810493,"diff_hunk":"@@ -77,19 +77,21 @@ def create_project(name, custom_name, cli_options)\n           end\n         end\n \n-        options[:custom_name] = custom_name\n+        options[:custom_name] = options[:name]\n \n-        project = Tmuxinator::Config.validate(name, options)\n+        project = Tmuxinator::Config.validate(name, options, args)\n         project\n       end\n     }\n \n-    desc \"start [PROJECT] [SESSION_NAME]\", COMMANDS[:start]\n+    desc \"start [PROJECT] [ARGS]\", COMMANDS[:start]\n     map \"s\" => :start\n     method_option :attach, :type => :boolean, :aliases => \"-a\", :desc => \"Attach to tmux session after creation.\"\n+    method_option :name, aliases: \"-n\",\n+      :desc => \"Give the session a different name\"","path":"lib/tmuxinator/cli.rb","position":36,"original_position":36,"commit_id":"421876f10465eaf17f34355c42b5b7340371dad9","original_commit_id":"421876f10465eaf17f34355c42b5b7340371dad9","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Align the elements of a hash literal if they span more than one line.<br>Use the new Ruby 1.9 hash syntax.","created_at":"2015-09-17T23:18:44Z","updated_at":"2015-09-17T23:18:44Z","html_url":"https://github.com/tmuxinator/tmuxinator/pull/336#discussion_r39810493","pull_request_url":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/336","_links":{"self":{"href":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/comments/39810493"},"html":{"href":"https://github.com/tmuxinator/tmuxinator/pull/336#discussion_r39810493"},"pull_request":{"href":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/336"}}},"pull_request":{"url":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/336","id":44683004,"html_url":"https://github.com/tmuxinator/tmuxinator/pull/336","diff_url":"https://github.com/tmuxinator/tmuxinator/pull/336.diff","patch_url":"https://github.com/tmuxinator/tmuxinator/pull/336.patch","issue_url":"https://api.github.com/repos/tmuxinator/tmuxinator/issues/336","number":336,"state":"open","locked":false,"title":"Implement passing args to YAML files","user":{"login":"J3RN","id":2058614,"avatar_url":"https://avatars.githubusercontent.com/u/2058614?v=3","gravatar_id":"","url":"https://api.github.com/users/J3RN","html_url":"https://github.com/J3RN","followers_url":"https://api.github.com/users/J3RN/followers","following_url":"https://api.github.com/users/J3RN/following{/other_user}","gists_url":"https://api.github.com/users/J3RN/gists{/gist_id}","starred_url":"https://api.github.com/users/J3RN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J3RN/subscriptions","organizations_url":"https://api.github.com/users/J3RN/orgs","repos_url":"https://api.github.com/users/J3RN/repos","events_url":"https://api.github.com/users/J3RN/events{/privacy}","received_events_url":"https://api.github.com/users/J3RN/received_events","type":"User","site_admin":false},"body":"Closes #242. There's no tests currently covering how the command line actually works. I can do my best to add some, if that is preferred.","created_at":"2015-09-10T15:35:19Z","updated_at":"2015-09-17T23:18:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9994ae26d7dc10d057bc05baa2033b7dfa74657","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/336/commits","review_comments_url":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/336/comments","review_comment_url":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tmuxinator/tmuxinator/issues/336/comments","statuses_url":"https://api.github.com/repos/tmuxinator/tmuxinator/statuses/421876f10465eaf17f34355c42b5b7340371dad9","head":{"label":"J3RN:args_to_yaml","ref":"args_to_yaml","sha":"421876f10465eaf17f34355c42b5b7340371dad9","user":{"login":"J3RN","id":2058614,"avatar_url":"https://avatars.githubusercontent.com/u/2058614?v=3","gravatar_id":"","url":"https://api.github.com/users/J3RN","html_url":"https://github.com/J3RN","followers_url":"https://api.github.com/users/J3RN/followers","following_url":"https://api.github.com/users/J3RN/following{/other_user}","gists_url":"https://api.github.com/users/J3RN/gists{/gist_id}","starred_url":"https://api.github.com/users/J3RN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J3RN/subscriptions","organizations_url":"https://api.github.com/users/J3RN/orgs","repos_url":"https://api.github.com/users/J3RN/repos","events_url":"https://api.github.com/users/J3RN/events{/privacy}","received_events_url":"https://api.github.com/users/J3RN/received_events","type":"User","site_admin":false},"repo":{"id":42250725,"name":"tmuxinator","full_name":"J3RN/tmuxinator","owner":{"login":"J3RN","id":2058614,"avatar_url":"https://avatars.githubusercontent.com/u/2058614?v=3","gravatar_id":"","url":"https://api.github.com/users/J3RN","html_url":"https://github.com/J3RN","followers_url":"https://api.github.com/users/J3RN/followers","following_url":"https://api.github.com/users/J3RN/following{/other_user}","gists_url":"https://api.github.com/users/J3RN/gists{/gist_id}","starred_url":"https://api.github.com/users/J3RN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J3RN/subscriptions","organizations_url":"https://api.github.com/users/J3RN/orgs","repos_url":"https://api.github.com/users/J3RN/repos","events_url":"https://api.github.com/users/J3RN/events{/privacy}","received_events_url":"https://api.github.com/users/J3RN/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/J3RN/tmuxinator","description":"Manage complex tmux sessions easily","fork":true,"url":"https://api.github.com/repos/J3RN/tmuxinator","forks_url":"https://api.github.com/repos/J3RN/tmuxinator/forks","keys_url":"https://api.github.com/repos/J3RN/tmuxinator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/J3RN/tmuxinator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/J3RN/tmuxinator/teams","hooks_url":"https://api.github.com/repos/J3RN/tmuxinator/hooks","issue_events_url":"https://api.github.com/repos/J3RN/tmuxinator/issues/events{/number}","events_url":"https://api.github.com/repos/J3RN/tmuxinator/events","assignees_url":"https://api.github.com/repos/J3RN/tmuxinator/assignees{/user}","branches_url":"https://api.github.com/repos/J3RN/tmuxinator/branches{/branch}","tags_url":"https://api.github.com/repos/J3RN/tmuxinator/tags","blobs_url":"https://api.github.com/repos/J3RN/tmuxinator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/J3RN/tmuxinator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/J3RN/tmuxinator/git/refs{/sha}","trees_url":"https://api.github.com/repos/J3RN/tmuxinator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/J3RN/tmuxinator/statuses/{sha}","languages_url":"https://api.github.com/repos/J3RN/tmuxinator/languages","stargazers_url":"https://api.github.com/repos/J3RN/tmuxinator/stargazers","contributors_url":"https://api.github.com/repos/J3RN/tmuxinator/contributors","subscribers_url":"https://api.github.com/repos/J3RN/tmuxinator/subscribers","subscription_url":"https://api.github.com/repos/J3RN/tmuxinator/subscription","commits_url":"https://api.github.com/repos/J3RN/tmuxinator/commits{/sha}","git_commits_url":"https://api.github.com/repos/J3RN/tmuxinator/git/commits{/sha}","comments_url":"https://api.github.com/repos/J3RN/tmuxinator/comments{/number}","issue_comment_url":"https://api.github.com/repos/J3RN/tmuxinator/issues/comments{/number}","contents_url":"https://api.github.com/repos/J3RN/tmuxinator/contents/{+path}","compare_url":"https://api.github.com/repos/J3RN/tmuxinator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/J3RN/tmuxinator/merges","archive_url":"https://api.github.com/repos/J3RN/tmuxinator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/J3RN/tmuxinator/downloads","issues_url":"https://api.github.com/repos/J3RN/tmuxinator/issues{/number}","pulls_url":"https://api.github.com/repos/J3RN/tmuxinator/pulls{/number}","milestones_url":"https://api.github.com/repos/J3RN/tmuxinator/milestones{/number}","notifications_url":"https://api.github.com/repos/J3RN/tmuxinator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/J3RN/tmuxinator/labels{/name}","releases_url":"https://api.github.com/repos/J3RN/tmuxinator/releases{/id}","created_at":"2015-09-10T14:47:12Z","updated_at":"2015-09-10T14:47:12Z","pushed_at":"2015-09-17T23:18:41Z","git_url":"git://github.com/J3RN/tmuxinator.git","ssh_url":"git@github.com:J3RN/tmuxinator.git","clone_url":"https://github.com/J3RN/tmuxinator.git","svn_url":"https://github.com/J3RN/tmuxinator","homepage":"","size":499,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"tmuxinator:master","ref":"master","sha":"7ffcf3f513158274650209e41f63783841cd77de","user":{"login":"tmuxinator","id":6574276,"avatar_url":"https://avatars.githubusercontent.com/u/6574276?v=3","gravatar_id":"","url":"https://api.github.com/users/tmuxinator","html_url":"https://github.com/tmuxinator","followers_url":"https://api.github.com/users/tmuxinator/followers","following_url":"https://api.github.com/users/tmuxinator/following{/other_user}","gists_url":"https://api.github.com/users/tmuxinator/gists{/gist_id}","starred_url":"https://api.github.com/users/tmuxinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmuxinator/subscriptions","organizations_url":"https://api.github.com/users/tmuxinator/orgs","repos_url":"https://api.github.com/users/tmuxinator/repos","events_url":"https://api.github.com/users/tmuxinator/events{/privacy}","received_events_url":"https://api.github.com/users/tmuxinator/received_events","type":"Organization","site_admin":false},"repo":{"id":1157388,"name":"tmuxinator","full_name":"tmuxinator/tmuxinator","owner":{"login":"tmuxinator","id":6574276,"avatar_url":"https://avatars.githubusercontent.com/u/6574276?v=3","gravatar_id":"","url":"https://api.github.com/users/tmuxinator","html_url":"https://github.com/tmuxinator","followers_url":"https://api.github.com/users/tmuxinator/followers","following_url":"https://api.github.com/users/tmuxinator/following{/other_user}","gists_url":"https://api.github.com/users/tmuxinator/gists{/gist_id}","starred_url":"https://api.github.com/users/tmuxinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmuxinator/subscriptions","organizations_url":"https://api.github.com/users/tmuxinator/orgs","repos_url":"https://api.github.com/users/tmuxinator/repos","events_url":"https://api.github.com/users/tmuxinator/events{/privacy}","received_events_url":"https://api.github.com/users/tmuxinator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tmuxinator/tmuxinator","description":"Manage complex tmux sessions easily","fork":false,"url":"https://api.github.com/repos/tmuxinator/tmuxinator","forks_url":"https://api.github.com/repos/tmuxinator/tmuxinator/forks","keys_url":"https://api.github.com/repos/tmuxinator/tmuxinator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmuxinator/tmuxinator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmuxinator/tmuxinator/teams","hooks_url":"https://api.github.com/repos/tmuxinator/tmuxinator/hooks","issue_events_url":"https://api.github.com/repos/tmuxinator/tmuxinator/issues/events{/number}","events_url":"https://api.github.com/repos/tmuxinator/tmuxinator/events","assignees_url":"https://api.github.com/repos/tmuxinator/tmuxinator/assignees{/user}","branches_url":"https://api.github.com/repos/tmuxinator/tmuxinator/branches{/branch}","tags_url":"https://api.github.com/repos/tmuxinator/tmuxinator/tags","blobs_url":"https://api.github.com/repos/tmuxinator/tmuxinator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmuxinator/tmuxinator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmuxinator/tmuxinator/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmuxinator/tmuxinator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmuxinator/tmuxinator/statuses/{sha}","languages_url":"https://api.github.com/repos/tmuxinator/tmuxinator/languages","stargazers_url":"https://api.github.com/repos/tmuxinator/tmuxinator/stargazers","contributors_url":"https://api.github.com/repos/tmuxinator/tmuxinator/contributors","subscribers_url":"https://api.github.com/repos/tmuxinator/tmuxinator/subscribers","subscription_url":"https://api.github.com/repos/tmuxinator/tmuxinator/subscription","commits_url":"https://api.github.com/repos/tmuxinator/tmuxinator/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmuxinator/tmuxinator/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmuxinator/tmuxinator/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmuxinator/tmuxinator/issues/comments{/number}","contents_url":"https://api.github.com/repos/tmuxinator/tmuxinator/contents/{+path}","compare_url":"https://api.github.com/repos/tmuxinator/tmuxinator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmuxinator/tmuxinator/merges","archive_url":"https://api.github.com/repos/tmuxinator/tmuxinator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmuxinator/tmuxinator/downloads","issues_url":"https://api.github.com/repos/tmuxinator/tmuxinator/issues{/number}","pulls_url":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls{/number}","milestones_url":"https://api.github.com/repos/tmuxinator/tmuxinator/milestones{/number}","notifications_url":"https://api.github.com/repos/tmuxinator/tmuxinator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmuxinator/tmuxinator/labels{/name}","releases_url":"https://api.github.com/repos/tmuxinator/tmuxinator/releases{/id}","created_at":"2010-12-10T21:49:50Z","updated_at":"2015-09-17T18:51:28Z","pushed_at":"2015-09-17T23:18:42Z","git_url":"git://github.com/tmuxinator/tmuxinator.git","ssh_url":"git@github.com:tmuxinator/tmuxinator.git","clone_url":"https://github.com/tmuxinator/tmuxinator.git","svn_url":"https://github.com/tmuxinator/tmuxinator","homepage":"","size":1771,"stargazers_count":4211,"watchers_count":4211,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":305,"mirror_url":null,"open_issues_count":28,"forks":305,"open_issues":28,"watchers":4211,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/336"},"html":{"href":"https://github.com/tmuxinator/tmuxinator/pull/336"},"issue":{"href":"https://api.github.com/repos/tmuxinator/tmuxinator/issues/336"},"comments":{"href":"https://api.github.com/repos/tmuxinator/tmuxinator/issues/336/comments"},"review_comments":{"href":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/336/comments"},"review_comment":{"href":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tmuxinator/tmuxinator/pulls/336/commits"},"statuses":{"href":"https://api.github.com/repos/tmuxinator/tmuxinator/statuses/421876f10465eaf17f34355c42b5b7340371dad9"}}}}