{"action":"created","comment":{"url":"https://api.github.com/repos/Backbase/bb-cli/pulls/comments/32255544","id":32255544,"diff_hunk":"@@ -186,6 +186,46 @@ Where `.bbrc` file contains this conf:\n \n Now running `bb import` from `/project/config` dir, CLI will use defined REST configuration with overriden `context` and user credentials.\n \n+## Link\n+\n+Symlinks source directory to target.\n+Use this command to symlink clone of your widget/module working repo to the working portal.\n+\n+```\n+bb link --source /repo/path -- target /path/to/portalserver/static/dir/\n+```\n+\n+This command also supports conventions used in Launchpad and ES. For example:\n+\n+If `--lp-trunk` path is set, target will be:\n+\n+`{lp path}/launchpad-bundles/static/launchpad/{bundle}/widgets/{package name}`","path":"README.md","position":20,"original_position":17,"commit_id":"da173a9a46367ebae604c7909bafb99c894c0cdb","original_commit_id":"b9618e2afc6225183e07db63d6ec0195c8568455","user":{"login":"igord","id":467808,"avatar_url":"https://avatars.githubusercontent.com/u/467808?v=3","gravatar_id":"","url":"https://api.github.com/users/igord","html_url":"https://github.com/igord","followers_url":"https://api.github.com/users/igord/followers","following_url":"https://api.github.com/users/igord/following{/other_user}","gists_url":"https://api.github.com/users/igord/gists{/gist_id}","starred_url":"https://api.github.com/users/igord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igord/subscriptions","organizations_url":"https://api.github.com/users/igord/orgs","repos_url":"https://api.github.com/users/igord/repos","events_url":"https://api.github.com/users/igord/events{/privacy}","received_events_url":"https://api.github.com/users/igord/received_events","type":"User","site_admin":false},"body":"That is the structure of the launchpad trunk repo. It doesn't follow convention that we are used to.","created_at":"2015-06-11T18:59:31Z","updated_at":"2015-06-11T18:59:31Z","html_url":"https://github.com/Backbase/bb-cli/pull/41#discussion_r32255544","pull_request_url":"https://api.github.com/repos/Backbase/bb-cli/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/Backbase/bb-cli/pulls/comments/32255544"},"html":{"href":"https://github.com/Backbase/bb-cli/pull/41#discussion_r32255544"},"pull_request":{"href":"https://api.github.com/repos/Backbase/bb-cli/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/Backbase/bb-cli/pulls/41","id":37456241,"html_url":"https://github.com/Backbase/bb-cli/pull/41","diff_url":"https://github.com/Backbase/bb-cli/pull/41.diff","patch_url":"https://github.com/Backbase/bb-cli/pull/41.patch","issue_url":"https://api.github.com/repos/Backbase/bb-cli/issues/41","number":41,"state":"open","locked":false,"title":"Feature/link command","user":{"login":"igord","id":467808,"avatar_url":"https://avatars.githubusercontent.com/u/467808?v=3","gravatar_id":"","url":"https://api.github.com/users/igord","html_url":"https://github.com/igord","followers_url":"https://api.github.com/users/igord/followers","following_url":"https://api.github.com/users/igord/following{/other_user}","gists_url":"https://api.github.com/users/igord/gists{/gist_id}","starred_url":"https://api.github.com/users/igord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igord/subscriptions","organizations_url":"https://api.github.com/users/igord/orgs","repos_url":"https://api.github.com/users/igord/repos","events_url":"https://api.github.com/users/igord/events{/privacy}","received_events_url":"https://api.github.com/users/igord/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-11T12:06:14Z","updated_at":"2015-06-11T18:59:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7318099f177c1b559db86132fa5379e129cb017","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Backbase/bb-cli/pulls/41/commits","review_comments_url":"https://api.github.com/repos/Backbase/bb-cli/pulls/41/comments","review_comment_url":"https://api.github.com/repos/Backbase/bb-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Backbase/bb-cli/issues/41/comments","statuses_url":"https://api.github.com/repos/Backbase/bb-cli/statuses/da173a9a46367ebae604c7909bafb99c894c0cdb","head":{"label":"Backbase:feature/link-command","ref":"feature/link-command","sha":"da173a9a46367ebae604c7909bafb99c894c0cdb","user":{"login":"Backbase","id":1914334,"avatar_url":"https://avatars.githubusercontent.com/u/1914334?v=3","gravatar_id":"","url":"https://api.github.com/users/Backbase","html_url":"https://github.com/Backbase","followers_url":"https://api.github.com/users/Backbase/followers","following_url":"https://api.github.com/users/Backbase/following{/other_user}","gists_url":"https://api.github.com/users/Backbase/gists{/gist_id}","starred_url":"https://api.github.com/users/Backbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backbase/subscriptions","organizations_url":"https://api.github.com/users/Backbase/orgs","repos_url":"https://api.github.com/users/Backbase/repos","events_url":"https://api.github.com/users/Backbase/events{/privacy}","received_events_url":"https://api.github.com/users/Backbase/received_events","type":"Organization","site_admin":false},"repo":{"id":28917090,"name":"bb-cli","full_name":"Backbase/bb-cli","owner":{"login":"Backbase","id":1914334,"avatar_url":"https://avatars.githubusercontent.com/u/1914334?v=3","gravatar_id":"","url":"https://api.github.com/users/Backbase","html_url":"https://github.com/Backbase","followers_url":"https://api.github.com/users/Backbase/followers","following_url":"https://api.github.com/users/Backbase/following{/other_user}","gists_url":"https://api.github.com/users/Backbase/gists{/gist_id}","starred_url":"https://api.github.com/users/Backbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backbase/subscriptions","organizations_url":"https://api.github.com/users/Backbase/orgs","repos_url":"https://api.github.com/users/Backbase/repos","events_url":"https://api.github.com/users/Backbase/events{/privacy}","received_events_url":"https://api.github.com/users/Backbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Backbase/bb-cli","description":"","fork":false,"url":"https://api.github.com/repos/Backbase/bb-cli","forks_url":"https://api.github.com/repos/Backbase/bb-cli/forks","keys_url":"https://api.github.com/repos/Backbase/bb-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Backbase/bb-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Backbase/bb-cli/teams","hooks_url":"https://api.github.com/repos/Backbase/bb-cli/hooks","issue_events_url":"https://api.github.com/repos/Backbase/bb-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Backbase/bb-cli/events","assignees_url":"https://api.github.com/repos/Backbase/bb-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Backbase/bb-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Backbase/bb-cli/tags","blobs_url":"https://api.github.com/repos/Backbase/bb-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Backbase/bb-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Backbase/bb-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Backbase/bb-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Backbase/bb-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Backbase/bb-cli/languages","stargazers_url":"https://api.github.com/repos/Backbase/bb-cli/stargazers","contributors_url":"https://api.github.com/repos/Backbase/bb-cli/contributors","subscribers_url":"https://api.github.com/repos/Backbase/bb-cli/subscribers","subscription_url":"https://api.github.com/repos/Backbase/bb-cli/subscription","commits_url":"https://api.github.com/repos/Backbase/bb-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Backbase/bb-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Backbase/bb-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Backbase/bb-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Backbase/bb-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Backbase/bb-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Backbase/bb-cli/merges","archive_url":"https://api.github.com/repos/Backbase/bb-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Backbase/bb-cli/downloads","issues_url":"https://api.github.com/repos/Backbase/bb-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Backbase/bb-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Backbase/bb-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Backbase/bb-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Backbase/bb-cli/labels{/name}","releases_url":"https://api.github.com/repos/Backbase/bb-cli/releases{/id}","created_at":"2015-01-07T14:09:19Z","updated_at":"2015-06-10T12:03:46Z","pushed_at":"2015-06-11T16:37:47Z","git_url":"git://github.com/Backbase/bb-cli.git","ssh_url":"git@github.com:Backbase/bb-cli.git","clone_url":"https://github.com/Backbase/bb-cli.git","svn_url":"https://github.com/Backbase/bb-cli","homepage":null,"size":1059,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":2,"default_branch":"master"}},"base":{"label":"Backbase:0.1.x-dev","ref":"0.1.x-dev","sha":"bdfbfcdf6c90f6b9d39594707b99e24aa50c4424","user":{"login":"Backbase","id":1914334,"avatar_url":"https://avatars.githubusercontent.com/u/1914334?v=3","gravatar_id":"","url":"https://api.github.com/users/Backbase","html_url":"https://github.com/Backbase","followers_url":"https://api.github.com/users/Backbase/followers","following_url":"https://api.github.com/users/Backbase/following{/other_user}","gists_url":"https://api.github.com/users/Backbase/gists{/gist_id}","starred_url":"https://api.github.com/users/Backbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backbase/subscriptions","organizations_url":"https://api.github.com/users/Backbase/orgs","repos_url":"https://api.github.com/users/Backbase/repos","events_url":"https://api.github.com/users/Backbase/events{/privacy}","received_events_url":"https://api.github.com/users/Backbase/received_events","type":"Organization","site_admin":false},"repo":{"id":28917090,"name":"bb-cli","full_name":"Backbase/bb-cli","owner":{"login":"Backbase","id":1914334,"avatar_url":"https://avatars.githubusercontent.com/u/1914334?v=3","gravatar_id":"","url":"https://api.github.com/users/Backbase","html_url":"https://github.com/Backbase","followers_url":"https://api.github.com/users/Backbase/followers","following_url":"https://api.github.com/users/Backbase/following{/other_user}","gists_url":"https://api.github.com/users/Backbase/gists{/gist_id}","starred_url":"https://api.github.com/users/Backbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backbase/subscriptions","organizations_url":"https://api.github.com/users/Backbase/orgs","repos_url":"https://api.github.com/users/Backbase/repos","events_url":"https://api.github.com/users/Backbase/events{/privacy}","received_events_url":"https://api.github.com/users/Backbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Backbase/bb-cli","description":"","fork":false,"url":"https://api.github.com/repos/Backbase/bb-cli","forks_url":"https://api.github.com/repos/Backbase/bb-cli/forks","keys_url":"https://api.github.com/repos/Backbase/bb-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Backbase/bb-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Backbase/bb-cli/teams","hooks_url":"https://api.github.com/repos/Backbase/bb-cli/hooks","issue_events_url":"https://api.github.com/repos/Backbase/bb-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Backbase/bb-cli/events","assignees_url":"https://api.github.com/repos/Backbase/bb-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Backbase/bb-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Backbase/bb-cli/tags","blobs_url":"https://api.github.com/repos/Backbase/bb-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Backbase/bb-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Backbase/bb-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Backbase/bb-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Backbase/bb-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Backbase/bb-cli/languages","stargazers_url":"https://api.github.com/repos/Backbase/bb-cli/stargazers","contributors_url":"https://api.github.com/repos/Backbase/bb-cli/contributors","subscribers_url":"https://api.github.com/repos/Backbase/bb-cli/subscribers","subscription_url":"https://api.github.com/repos/Backbase/bb-cli/subscription","commits_url":"https://api.github.com/repos/Backbase/bb-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Backbase/bb-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Backbase/bb-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Backbase/bb-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Backbase/bb-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Backbase/bb-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Backbase/bb-cli/merges","archive_url":"https://api.github.com/repos/Backbase/bb-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Backbase/bb-cli/downloads","issues_url":"https://api.github.com/repos/Backbase/bb-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Backbase/bb-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Backbase/bb-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Backbase/bb-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Backbase/bb-cli/labels{/name}","releases_url":"https://api.github.com/repos/Backbase/bb-cli/releases{/id}","created_at":"2015-01-07T14:09:19Z","updated_at":"2015-06-10T12:03:46Z","pushed_at":"2015-06-11T16:37:47Z","git_url":"git://github.com/Backbase/bb-cli.git","ssh_url":"git@github.com:Backbase/bb-cli.git","clone_url":"https://github.com/Backbase/bb-cli.git","svn_url":"https://github.com/Backbase/bb-cli","homepage":null,"size":1059,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Backbase/bb-cli/pulls/41"},"html":{"href":"https://github.com/Backbase/bb-cli/pull/41"},"issue":{"href":"https://api.github.com/repos/Backbase/bb-cli/issues/41"},"comments":{"href":"https://api.github.com/repos/Backbase/bb-cli/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/Backbase/bb-cli/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/Backbase/bb-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Backbase/bb-cli/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/Backbase/bb-cli/statuses/da173a9a46367ebae604c7909bafb99c894c0cdb"}}}}