{"action":"created","comment":{"url":"https://api.github.com/repos/mtezzele/project-creator/pulls/comments/28758262","id":28758262,"diff_hunk":"@@ -4,19 +4,25 @@\n # Last edit: 29-03-2015\n \n # It creates a complete filesystem for a c++ project.\n-# $1 is the name of the project\n-# $2 is the name of the first class (in lower case)\n+# $AUTHOR is the author of the project\n+# $PROJECT_NAME is the name of the project\n+# $CLASS is the name of the first class (in lower case)\n \n # Creation of the name of the class\n-CLASS=$2\n-CLASS=`echo ${CLASS:0:1} | tr  '[a-z]' '[A-Z]'`${CLASS:1}\n-\n+echo \n+read -e -p \"Author: ................. \" AUTHOR\n+read -e -p \"Name of the project: .... \" PROJECT_NAME\n+read -e -p \"Name of the class: ...... \" CLASS\n+\n+CLASS=`echo -e ${CLASS:0:1} | tr '[a-z]' '[A-Z]'`${CLASS:1}","path":"cxxlib.sh","position":19,"original_position":19,"commit_id":"43c6dc9721c82ee8401a4cdec4f5e82d0634967c","original_commit_id":"43c6dc9721c82ee8401a4cdec4f5e82d0634967c","user":{"login":"mtezzele","id":8956946,"avatar_url":"https://avatars.githubusercontent.com/u/8956946?v=3","gravatar_id":"","url":"https://api.github.com/users/mtezzele","html_url":"https://github.com/mtezzele","followers_url":"https://api.github.com/users/mtezzele/followers","following_url":"https://api.github.com/users/mtezzele/following{/other_user}","gists_url":"https://api.github.com/users/mtezzele/gists{/gist_id}","starred_url":"https://api.github.com/users/mtezzele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtezzele/subscriptions","organizations_url":"https://api.github.com/users/mtezzele/orgs","repos_url":"https://api.github.com/users/mtezzele/repos","events_url":"https://api.github.com/users/mtezzele/events{/privacy}","received_events_url":"https://api.github.com/users/mtezzele/received_events","type":"User","site_admin":false},"body":"You have to create a new variable, e.g. CLASS_FILE_NAME, that is equal to CLASS before this line. The file name will be in lower case.","created_at":"2015-04-21T08:22:14Z","updated_at":"2015-04-21T08:22:14Z","html_url":"https://github.com/mtezzele/project-creator/pull/1#discussion_r28758262","pull_request_url":"https://api.github.com/repos/mtezzele/project-creator/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mtezzele/project-creator/pulls/comments/28758262"},"html":{"href":"https://github.com/mtezzele/project-creator/pull/1#discussion_r28758262"},"pull_request":{"href":"https://api.github.com/repos/mtezzele/project-creator/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mtezzele/project-creator/pulls/1","id":33738092,"html_url":"https://github.com/mtezzele/project-creator/pull/1","diff_url":"https://github.com/mtezzele/project-creator/pull/1.diff","patch_url":"https://github.com/mtezzele/project-creator/pull/1.patch","issue_url":"https://api.github.com/repos/mtezzele/project-creator/issues/1","number":1,"state":"open","locked":false,"title":"some very small changes","user":{"login":"ESeNonFossiIo","id":8956997,"avatar_url":"https://avatars.githubusercontent.com/u/8956997?v=3","gravatar_id":"","url":"https://api.github.com/users/ESeNonFossiIo","html_url":"https://github.com/ESeNonFossiIo","followers_url":"https://api.github.com/users/ESeNonFossiIo/followers","following_url":"https://api.github.com/users/ESeNonFossiIo/following{/other_user}","gists_url":"https://api.github.com/users/ESeNonFossiIo/gists{/gist_id}","starred_url":"https://api.github.com/users/ESeNonFossiIo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESeNonFossiIo/subscriptions","organizations_url":"https://api.github.com/users/ESeNonFossiIo/orgs","repos_url":"https://api.github.com/users/ESeNonFossiIo/repos","events_url":"https://api.github.com/users/ESeNonFossiIo/events{/privacy}","received_events_url":"https://api.github.com/users/ESeNonFossiIo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-21T08:17:23Z","updated_at":"2015-04-21T08:22:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mtezzele/project-creator/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mtezzele/project-creator/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mtezzele/project-creator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mtezzele/project-creator/issues/1/comments","statuses_url":"https://api.github.com/repos/mtezzele/project-creator/statuses/43c6dc9721c82ee8401a4cdec4f5e82d0634967c","head":{"label":"ESeNonFossiIo:master","ref":"master","sha":"43c6dc9721c82ee8401a4cdec4f5e82d0634967c","user":{"login":"ESeNonFossiIo","id":8956997,"avatar_url":"https://avatars.githubusercontent.com/u/8956997?v=3","gravatar_id":"","url":"https://api.github.com/users/ESeNonFossiIo","html_url":"https://github.com/ESeNonFossiIo","followers_url":"https://api.github.com/users/ESeNonFossiIo/followers","following_url":"https://api.github.com/users/ESeNonFossiIo/following{/other_user}","gists_url":"https://api.github.com/users/ESeNonFossiIo/gists{/gist_id}","starred_url":"https://api.github.com/users/ESeNonFossiIo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESeNonFossiIo/subscriptions","organizations_url":"https://api.github.com/users/ESeNonFossiIo/orgs","repos_url":"https://api.github.com/users/ESeNonFossiIo/repos","events_url":"https://api.github.com/users/ESeNonFossiIo/events{/privacy}","received_events_url":"https://api.github.com/users/ESeNonFossiIo/received_events","type":"User","site_admin":false},"repo":{"id":33941786,"name":"project-creator","full_name":"ESeNonFossiIo/project-creator","owner":{"login":"ESeNonFossiIo","id":8956997,"avatar_url":"https://avatars.githubusercontent.com/u/8956997?v=3","gravatar_id":"","url":"https://api.github.com/users/ESeNonFossiIo","html_url":"https://github.com/ESeNonFossiIo","followers_url":"https://api.github.com/users/ESeNonFossiIo/followers","following_url":"https://api.github.com/users/ESeNonFossiIo/following{/other_user}","gists_url":"https://api.github.com/users/ESeNonFossiIo/gists{/gist_id}","starred_url":"https://api.github.com/users/ESeNonFossiIo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESeNonFossiIo/subscriptions","organizations_url":"https://api.github.com/users/ESeNonFossiIo/orgs","repos_url":"https://api.github.com/users/ESeNonFossiIo/repos","events_url":"https://api.github.com/users/ESeNonFossiIo/events{/privacy}","received_events_url":"https://api.github.com/users/ESeNonFossiIo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ESeNonFossiIo/project-creator","description":"A bunch of bash scripts to create the initial files to start a project in different languages.","fork":true,"url":"https://api.github.com/repos/ESeNonFossiIo/project-creator","forks_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/forks","keys_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/teams","hooks_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/hooks","issue_events_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/issues/events{/number}","events_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/events","assignees_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/assignees{/user}","branches_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/branches{/branch}","tags_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/tags","blobs_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/git/refs{/sha}","trees_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/statuses/{sha}","languages_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/languages","stargazers_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/stargazers","contributors_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/contributors","subscribers_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/subscribers","subscription_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/subscription","commits_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/commits{/sha}","git_commits_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/git/commits{/sha}","comments_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/comments{/number}","issue_comment_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/issues/comments{/number}","contents_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/contents/{+path}","compare_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/merges","archive_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/downloads","issues_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/issues{/number}","pulls_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/pulls{/number}","milestones_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/milestones{/number}","notifications_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/labels{/name}","releases_url":"https://api.github.com/repos/ESeNonFossiIo/project-creator/releases{/id}","created_at":"2015-04-14T15:56:01Z","updated_at":"2015-04-20T15:53:56Z","pushed_at":"2015-04-20T15:53:56Z","git_url":"git://github.com/ESeNonFossiIo/project-creator.git","ssh_url":"git@github.com:ESeNonFossiIo/project-creator.git","clone_url":"https://github.com/ESeNonFossiIo/project-creator.git","svn_url":"https://github.com/ESeNonFossiIo/project-creator","homepage":null,"size":140,"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":"mtezzele:master","ref":"master","sha":"f8ba6fdc886cbce24ff4df08a9b62b641635356c","user":{"login":"mtezzele","id":8956946,"avatar_url":"https://avatars.githubusercontent.com/u/8956946?v=3","gravatar_id":"","url":"https://api.github.com/users/mtezzele","html_url":"https://github.com/mtezzele","followers_url":"https://api.github.com/users/mtezzele/followers","following_url":"https://api.github.com/users/mtezzele/following{/other_user}","gists_url":"https://api.github.com/users/mtezzele/gists{/gist_id}","starred_url":"https://api.github.com/users/mtezzele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtezzele/subscriptions","organizations_url":"https://api.github.com/users/mtezzele/orgs","repos_url":"https://api.github.com/users/mtezzele/repos","events_url":"https://api.github.com/users/mtezzele/events{/privacy}","received_events_url":"https://api.github.com/users/mtezzele/received_events","type":"User","site_admin":false},"repo":{"id":33081651,"name":"project-creator","full_name":"mtezzele/project-creator","owner":{"login":"mtezzele","id":8956946,"avatar_url":"https://avatars.githubusercontent.com/u/8956946?v=3","gravatar_id":"","url":"https://api.github.com/users/mtezzele","html_url":"https://github.com/mtezzele","followers_url":"https://api.github.com/users/mtezzele/followers","following_url":"https://api.github.com/users/mtezzele/following{/other_user}","gists_url":"https://api.github.com/users/mtezzele/gists{/gist_id}","starred_url":"https://api.github.com/users/mtezzele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtezzele/subscriptions","organizations_url":"https://api.github.com/users/mtezzele/orgs","repos_url":"https://api.github.com/users/mtezzele/repos","events_url":"https://api.github.com/users/mtezzele/events{/privacy}","received_events_url":"https://api.github.com/users/mtezzele/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtezzele/project-creator","description":"A bunch of bash scripts to create the initial files to start a project in different languages.","fork":false,"url":"https://api.github.com/repos/mtezzele/project-creator","forks_url":"https://api.github.com/repos/mtezzele/project-creator/forks","keys_url":"https://api.github.com/repos/mtezzele/project-creator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtezzele/project-creator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtezzele/project-creator/teams","hooks_url":"https://api.github.com/repos/mtezzele/project-creator/hooks","issue_events_url":"https://api.github.com/repos/mtezzele/project-creator/issues/events{/number}","events_url":"https://api.github.com/repos/mtezzele/project-creator/events","assignees_url":"https://api.github.com/repos/mtezzele/project-creator/assignees{/user}","branches_url":"https://api.github.com/repos/mtezzele/project-creator/branches{/branch}","tags_url":"https://api.github.com/repos/mtezzele/project-creator/tags","blobs_url":"https://api.github.com/repos/mtezzele/project-creator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtezzele/project-creator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtezzele/project-creator/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtezzele/project-creator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtezzele/project-creator/statuses/{sha}","languages_url":"https://api.github.com/repos/mtezzele/project-creator/languages","stargazers_url":"https://api.github.com/repos/mtezzele/project-creator/stargazers","contributors_url":"https://api.github.com/repos/mtezzele/project-creator/contributors","subscribers_url":"https://api.github.com/repos/mtezzele/project-creator/subscribers","subscription_url":"https://api.github.com/repos/mtezzele/project-creator/subscription","commits_url":"https://api.github.com/repos/mtezzele/project-creator/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtezzele/project-creator/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtezzele/project-creator/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtezzele/project-creator/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtezzele/project-creator/contents/{+path}","compare_url":"https://api.github.com/repos/mtezzele/project-creator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtezzele/project-creator/merges","archive_url":"https://api.github.com/repos/mtezzele/project-creator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtezzele/project-creator/downloads","issues_url":"https://api.github.com/repos/mtezzele/project-creator/issues{/number}","pulls_url":"https://api.github.com/repos/mtezzele/project-creator/pulls{/number}","milestones_url":"https://api.github.com/repos/mtezzele/project-creator/milestones{/number}","notifications_url":"https://api.github.com/repos/mtezzele/project-creator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtezzele/project-creator/labels{/name}","releases_url":"https://api.github.com/repos/mtezzele/project-creator/releases{/id}","created_at":"2015-03-29T17:15:02Z","updated_at":"2015-04-15T12:42:50Z","pushed_at":"2015-04-21T08:17:23Z","git_url":"git://github.com/mtezzele/project-creator.git","ssh_url":"git@github.com:mtezzele/project-creator.git","clone_url":"https://github.com/mtezzele/project-creator.git","svn_url":"https://github.com/mtezzele/project-creator","homepage":null,"size":135,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mtezzele/project-creator/pulls/1"},"html":{"href":"https://github.com/mtezzele/project-creator/pull/1"},"issue":{"href":"https://api.github.com/repos/mtezzele/project-creator/issues/1"},"comments":{"href":"https://api.github.com/repos/mtezzele/project-creator/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mtezzele/project-creator/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mtezzele/project-creator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mtezzele/project-creator/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mtezzele/project-creator/statuses/43c6dc9721c82ee8401a4cdec4f5e82d0634967c"}}}}