{"action":"opened","number":285,"pull_request":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls/285","id":60999247,"html_url":"https://github.com/cloudify-cosmo/cloudify-cli/pull/285","diff_url":"https://github.com/cloudify-cosmo/cloudify-cli/pull/285.diff","patch_url":"https://github.com/cloudify-cosmo/cloudify-cli/pull/285.patch","issue_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues/285","number":285,"state":"open","locked":false,"title":"CFY-4979-improve-cli-help-texts","user":{"login":"AviaE","id":11952207,"avatar_url":"https://avatars.githubusercontent.com/u/11952207?v=3","gravatar_id":"","url":"https://api.github.com/users/AviaE","html_url":"https://github.com/AviaE","followers_url":"https://api.github.com/users/AviaE/followers","following_url":"https://api.github.com/users/AviaE/following{/other_user}","gists_url":"https://api.github.com/users/AviaE/gists{/gist_id}","starred_url":"https://api.github.com/users/AviaE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AviaE/subscriptions","organizations_url":"https://api.github.com/users/AviaE/orgs","repos_url":"https://api.github.com/users/AviaE/repos","events_url":"https://api.github.com/users/AviaE/events{/privacy}","received_events_url":"https://api.github.com/users/AviaE/received_events","type":"User","site_admin":false},"body":"`cfy -h` old output:\r\n```\r\nusage: cfy [-h] [--version]\r\n           {logs,snapshots,executions,agents,plugins,recover,use,teardown,deployments,init,nodes,local,events,status,ssh,workflows,blueprints,bootstrap,node-instances,dev,install,uninstall}\r\n           ...\r\n\r\nManages Cloudify in different Cloud Environments\r\n\r\npositional arguments:\r\n  {logs,snapshots,executions,agents,plugins,recover,use,teardown,deployments,init,nodes,local,events,status,ssh,workflows,blueprints,bootstrap,node-instances,dev,install,uninstall}\r\n    logs                Handles Cloudify Manager logs\r\n    snapshots           Manages Cloudify's Snapshots\r\n    executions          Manage Cloudify's Executions\r\n    agents              Manages Cloudify's Agents\r\n    plugins             Manage Cloudify's plugins\r\n    recover             Perform recovery of the management machine and all its\r\n                        contained nodes\r\n    use                 Use/switch to a specific Cloudify Manager\r\n    teardown            Teardown Cloudify\r\n    deployments         Manage Cloudify's Deployments\r\n    init                Initialize cfy work environment\r\n    nodes               Manage nodes\r\n    local               Manage local workflows\r\n    events              Manage Cloudify's events\r\n    status              Show the Manager's status\r\n    ssh                 SSH to the machine the Manager is located on\r\n    workflows           Manage Deployment Workflows\r\n    blueprints          Manage Cloudify's Blueprints\r\n    bootstrap           Bootstrap a Cloudify Manager\r\n    node-instances      Manage node instances\r\n    dev                 Executes fabric tasks on the management machine\r\n    install             Install an application on a Cloudify Manager\r\n    uninstall           Uninstall an existing application from the Cloudify\r\n                        Manager\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n  --version             Show version information and exit\r\n```\r\n\r\n`cfy -h` new output:\r\n```\r\nusage: cfy [-h] [--version]                     ...\r\n\r\nManages Cloudify in different Cloud Environments\r\n\r\noptional arguments:\r\n  -h, --help           show this help message and exit\r\n  --version            Show version information and exit\r\n\r\nCommands:\r\n                     \r\n    logs               Handles Cloudify Manager logs\r\n    snapshots          Manages Cloudify's Snapshots\r\n    executions         Manage Cloudify's Executions\r\n    agents             Manages Cloudify's Agents\r\n    plugins            Manage Cloudify's plugins\r\n    recover            Perform recovery of the management machine and all its\r\n                       contained nodes\r\n    use                Use/switch to a specific Cloudify Manager\r\n    teardown           Teardown Cloudify\r\n    deployments        Manage Cloudify's Deployments\r\n    init               Initialize cfy work environment\r\n    nodes              Manage nodes\r\n    local              Manage local workflows\r\n    events             Manage Cloudify's events\r\n    status             Show the Manager's status\r\n    ssh                SSH to the machine the Manager is located on\r\n    workflows          Manage Deployment Workflows\r\n    blueprints         Manage Cloudify's Blueprints\r\n    bootstrap          Bootstrap a Cloudify Manager\r\n    node-instances     Manage node instances\r\n    dev                Executes fabric tasks on the management machine\r\n    install            Install an application on a Cloudify Manager\r\n    uninstall          Uninstall an existing application from the Cloudify\r\n                       Manager\r\n```\r\n\r\n`cfy blueprints -h` old output:\r\n```\r\nusage: cfy blueprints [-h]\r\n                      {inputs,publish-archive,download,validate,get,list,upload,delete}\r\n                      ...\r\n\r\npositional arguments:\r\n  {inputs,publish-archive,download,validate,get,list,upload,delete}\r\n    inputs              List a blueprint's inputs\r\n    publish-archive     Publish a blueprint archive from a path or a URL to\r\n                        the Manager\r\n    download            Download a blueprint from the Manager\r\n    validate            Validate a blueprint\r\n    get                 Get a blueprint by its id\r\n    list                List all blueprints on the Manager\r\n    upload              Upload a blueprint to the Manager\r\n    delete              Delete a blueprint from the manager\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n```\r\n\r\n`cfy blueprints -h` new output:\r\n```\r\nusage: cfy blueprints [-h]                      ...\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n\r\nCommands:\r\n                      \r\n    inputs              List a blueprint's inputs\r\n    publish-archive     Publish a blueprint archive from a path or a URL to\r\n                        the Manager\r\n    download            Download a blueprint from the Manager\r\n    validate            Validate a blueprint\r\n    get                 Get a blueprint by its id\r\n    list                List all blueprints on the Manager\r\n    upload              Upload a blueprint to the Manager\r\n    delete              Delete a blueprint from the manager\r\n```","created_at":"2016-02-28T17:37:55Z","updated_at":"2016-02-28T17:37:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls/285/commits","review_comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls/285/comments","review_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues/285/comments","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/statuses/5fa50dc3c0cbf8ae2428b8b1bd2614ca7a195c1c","head":{"label":"cloudify-cosmo:CFY-4979-improve-cli-help-texts","ref":"CFY-4979-improve-cli-help-texts","sha":"5fa50dc3c0cbf8ae2428b8b1bd2614ca7a195c1c","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":18326701,"name":"cloudify-cli","full_name":"cloudify-cosmo/cloudify-cli","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-cli","description":"Cloudify's CLI","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/releases{/id}","deployments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/deployments","created_at":"2014-04-01T11:12:15Z","updated_at":"2016-02-28T17:02:30Z","pushed_at":"2016-02-28T17:34:27Z","git_url":"git://github.com/cloudify-cosmo/cloudify-cli.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-cli.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-cli.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-cli","homepage":null,"size":24653,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":9,"forks":27,"open_issues":9,"watchers":12,"default_branch":"master"}},"base":{"label":"cloudify-cosmo:master","ref":"master","sha":"f01a456ec8707261a116b8bf67e705b3b0262539","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":18326701,"name":"cloudify-cli","full_name":"cloudify-cosmo/cloudify-cli","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-cli","description":"Cloudify's CLI","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/releases{/id}","deployments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/deployments","created_at":"2014-04-01T11:12:15Z","updated_at":"2016-02-28T17:02:30Z","pushed_at":"2016-02-28T17:34:27Z","git_url":"git://github.com/cloudify-cosmo/cloudify-cli.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-cli.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-cli.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-cli","homepage":null,"size":24653,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":9,"forks":27,"open_issues":9,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls/285"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-cli/pull/285"},"issue":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues/285"},"comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli/statuses/5fa50dc3c0cbf8ae2428b8b1bd2614ca7a195c1c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":2,"changed_files":2}}