{"action":"created","issue":{"url":"https://api.github.com/repos/Icenium/icenium-cli/issues/842","labels_url":"https://api.github.com/repos/Icenium/icenium-cli/issues/842/labels{/name}","comments_url":"https://api.github.com/repos/Icenium/icenium-cli/issues/842/comments","events_url":"https://api.github.com/repos/Icenium/icenium-cli/issues/842/events","html_url":"https://github.com/Icenium/icenium-cli/pull/842","id":58607830,"number":842,"title":"Show context specific help","user":{"login":"rosen-vladimirov","id":8351653,"avatar_url":"https://avatars.githubusercontent.com/u/8351653?v=3","gravatar_id":"","url":"https://api.github.com/users/rosen-vladimirov","html_url":"https://github.com/rosen-vladimirov","followers_url":"https://api.github.com/users/rosen-vladimirov/followers","following_url":"https://api.github.com/users/rosen-vladimirov/following{/other_user}","gists_url":"https://api.github.com/users/rosen-vladimirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rosen-vladimirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosen-vladimirov/subscriptions","organizations_url":"https://api.github.com/users/rosen-vladimirov/orgs","repos_url":"https://api.github.com/users/rosen-vladimirov/repos","events_url":"https://api.github.com/users/rosen-vladimirov/events{/privacy}","received_events_url":"https://api.github.com/users/rosen-vladimirov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Icenium/icenium-cli/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Icenium/icenium-cli/labels/epic","name":"epic","color":"c7def8"},{"url":"https://api.github.com/repos/Icenium/icenium-cli/labels/to-document","name":"to-document","color":"FFCBDB"}],"state":"open","locked":false,"assignee":{"login":"rosen-vladimirov","id":8351653,"avatar_url":"https://avatars.githubusercontent.com/u/8351653?v=3","gravatar_id":"","url":"https://api.github.com/users/rosen-vladimirov","html_url":"https://github.com/rosen-vladimirov","followers_url":"https://api.github.com/users/rosen-vladimirov/followers","following_url":"https://api.github.com/users/rosen-vladimirov/following{/other_user}","gists_url":"https://api.github.com/users/rosen-vladimirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rosen-vladimirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosen-vladimirov/subscriptions","organizations_url":"https://api.github.com/users/rosen-vladimirov/orgs","repos_url":"https://api.github.com/users/rosen-vladimirov/repos","events_url":"https://api.github.com/users/rosen-vladimirov/events{/privacy}","received_events_url":"https://api.github.com/users/rosen-vladimirov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Icenium/icenium-cli/milestones/5","html_url":"https://github.com/Icenium/icenium-cli/milestones/2.9.0","labels_url":"https://api.github.com/repos/Icenium/icenium-cli/milestones/5/labels","id":958028,"number":5,"title":"2.9.0","description":"","creator":{"login":"teobugslayer","id":5443453,"avatar_url":"https://avatars.githubusercontent.com/u/5443453?v=3","gravatar_id":"","url":"https://api.github.com/users/teobugslayer","html_url":"https://github.com/teobugslayer","followers_url":"https://api.github.com/users/teobugslayer/followers","following_url":"https://api.github.com/users/teobugslayer/following{/other_user}","gists_url":"https://api.github.com/users/teobugslayer/gists{/gist_id}","starred_url":"https://api.github.com/users/teobugslayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teobugslayer/subscriptions","organizations_url":"https://api.github.com/users/teobugslayer/orgs","repos_url":"https://api.github.com/users/teobugslayer/repos","events_url":"https://api.github.com/users/teobugslayer/events{/privacy}","received_events_url":"https://api.github.com/users/teobugslayer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":11,"state":"open","created_at":"2015-01-30T09:08:51Z","updated_at":"2015-03-04T10:46:09Z","due_on":"2015-04-23T21:00:00Z","closed_at":null},"comments":6,"created_at":"2015-02-23T16:13:35Z","updated_at":"2015-03-09T06:17:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Icenium/icenium-cli/pulls/842","html_url":"https://github.com/Icenium/icenium-cli/pull/842","diff_url":"https://github.com/Icenium/icenium-cli/pull/842.diff","patch_url":"https://github.com/Icenium/icenium-cli/pull/842.patch"},"body":"Refactor several commands in order to be mobile platform specific - deploy, build, livesync, appmanager upload.\r\n\r\nUpdate help.txt to support boolean conditions in order to understand if part of the help.txt should be included in the output. Currently supported calls are:\r\n1) #{dynamicHelpService.isProjectType()} - for example if you want to print part of the help only for cordova projects, you should write:\r\n\".... help is here\r\n #{dynamicHelpService.isProjectType(cordova)} This help is only for cordova projects  !#{dynamicHelpService.isProjectType(cordova)}\r\n...additional help here \"\r\nIn case you want to show part of the help only for cordova and nativeScript projects, you should write:\r\n\".... help is here\r\n #{dynamicHelpService.isProjectType(cordova, nativeScript)}This help is for cordova or nativescript projects.! #{dynamicHelpService.isProjectType(cordova, nativeScript)}\r\n...additional help here \"\r\n Supported projectTypes are cordova, nativeScript, mobileWebsite (note the case sensitivity is not important, but the start and end tokens must be the same - end token should be the same as start token, but with ! in front of it.\r\n\r\nIn case the command is executed outside of project directory, isProjectType returns true, so the help for all project types will be printed.\r\n\r\n2)  #{dynamicHelpService.isPlatform()} - for example if you want to print part of the help only for linux os, you should write:\r\n\".... help is here\r\n#{dynamicHelpService.isPlatform(linux)}This help is for linux only.!#{dynamicHelpService.isPlatform(linux)}\r\n...additional help here \"\r\nIn case you want to print help for linux and windows systems, you should write:\r\n\".... help is here\r\n#{dynamicHelpService.isPlatform(linux, win32)}This help is for linux and windows only.!#{dynamicHelpService.isPlatform(linux, win32)}\r\n...additional help here \"\r\n Supported platforms are win32, linux, darwin (note the case sensitivity is not important, but the start and end tokens must be the same - end token should be the same as start token, but with ! in front of it.\r\nisPlatform returns false if no match is found.\r\n\r\nThe dynamic calls can be written inside each other, for example:\r\n#{dynamicHelpService.isPlatform(linux, win32)}#{dynamicHelpService.isProjectType(cordova)}This help is for linux and windows only and only for cordova projects.!#{dynamicHelpService.isProjectType(cordova)}!#{dynamicHelpService.isPlatform(linux, win32)}\r\n\r\nhttp://teampulse.telerik.com/view#item/283188"},"comment":{"url":"https://api.github.com/repos/Icenium/icenium-cli/issues/comments/77805398","html_url":"https://github.com/Icenium/icenium-cli/pull/842#issuecomment-77805398","issue_url":"https://api.github.com/repos/Icenium/icenium-cli/issues/842","id":77805398,"user":{"login":"rosen-vladimirov","id":8351653,"avatar_url":"https://avatars.githubusercontent.com/u/8351653?v=3","gravatar_id":"","url":"https://api.github.com/users/rosen-vladimirov","html_url":"https://github.com/rosen-vladimirov","followers_url":"https://api.github.com/users/rosen-vladimirov/followers","following_url":"https://api.github.com/users/rosen-vladimirov/following{/other_user}","gists_url":"https://api.github.com/users/rosen-vladimirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rosen-vladimirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosen-vladimirov/subscriptions","organizations_url":"https://api.github.com/users/rosen-vladimirov/orgs","repos_url":"https://api.github.com/users/rosen-vladimirov/repos","events_url":"https://api.github.com/users/rosen-vladimirov/events{/privacy}","received_events_url":"https://api.github.com/users/rosen-vladimirov/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T06:17:16Z","updated_at":"2015-03-09T06:17:16Z","body":"run ci"}}