{"action":"closed","issue":{"url":"https://api.github.com/repos/n0vember/nocloud/issues/10","repository_url":"https://api.github.com/repos/n0vember/nocloud","labels_url":"https://api.github.com/repos/n0vember/nocloud/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/n0vember/nocloud/issues/10/comments","events_url":"https://api.github.com/repos/n0vember/nocloud/issues/10/events","html_url":"https://github.com/n0vember/nocloud/issues/10","id":236505402,"number":10,"title":"Do not print usage when I already have template","user":{"login":"pgrange","id":378506,"avatar_url":"https://avatars3.githubusercontent.com/u/378506?v=4","gravatar_id":"","url":"https://api.github.com/users/pgrange","html_url":"https://github.com/pgrange","followers_url":"https://api.github.com/users/pgrange/followers","following_url":"https://api.github.com/users/pgrange/following{/other_user}","gists_url":"https://api.github.com/users/pgrange/gists{/gist_id}","starred_url":"https://api.github.com/users/pgrange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgrange/subscriptions","organizations_url":"https://api.github.com/users/pgrange/orgs","repos_url":"https://api.github.com/users/pgrange/repos","events_url":"https://api.github.com/users/pgrange/events{/privacy}","received_events_url":"https://api.github.com/users/pgrange/received_events","type":"User","site_admin":false},"labels":[{"id":500797175,"url":"https://api.github.com/repos/n0vember/nocloud/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"n0vember","id":4928363,"avatar_url":"https://avatars0.githubusercontent.com/u/4928363?v=4","gravatar_id":"","url":"https://api.github.com/users/n0vember","html_url":"https://github.com/n0vember","followers_url":"https://api.github.com/users/n0vember/followers","following_url":"https://api.github.com/users/n0vember/following{/other_user}","gists_url":"https://api.github.com/users/n0vember/gists{/gist_id}","starred_url":"https://api.github.com/users/n0vember/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n0vember/subscriptions","organizations_url":"https://api.github.com/users/n0vember/orgs","repos_url":"https://api.github.com/users/n0vember/repos","events_url":"https://api.github.com/users/n0vember/events{/privacy}","received_events_url":"https://api.github.com/users/n0vember/received_events","type":"User","site_admin":false},"assignees":[{"login":"n0vember","id":4928363,"avatar_url":"https://avatars0.githubusercontent.com/u/4928363?v=4","gravatar_id":"","url":"https://api.github.com/users/n0vember","html_url":"https://github.com/n0vember","followers_url":"https://api.github.com/users/n0vember/followers","following_url":"https://api.github.com/users/n0vember/following{/other_user}","gists_url":"https://api.github.com/users/n0vember/gists{/gist_id}","starred_url":"https://api.github.com/users/n0vember/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n0vember/subscriptions","organizations_url":"https://api.github.com/users/n0vember/orgs","repos_url":"https://api.github.com/users/n0vember/repos","events_url":"https://api.github.com/users/n0vember/events{/privacy}","received_events_url":"https://api.github.com/users/n0vember/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-06-16T14:49:30Z","updated_at":"2017-08-26T21:51:52Z","closed_at":"2017-08-26T21:51:52Z","body":"When I try to download a template I already have, nocloud displays its usage:\r\n```\r\n vmtemplate -d debian8\r\nyou already have a template called debian8\r\nusage : vmtemplate -d TEMPLATE_NAME\r\n   or : vmtemplate -c TEMPLATE_NAME -i ISO_NAME\r\n  -d : download a template. TEMPLATE_NAME is one of archlinux debian8 centos7\r\n  -c : create a template ou t of iso\r\n  -i : specify isoName\r\n  -h : display this help\r\n```\r\n\r\nI think it would be nicer to just display the message:\r\n```\r\nyou already have a template called debian8\r\n```\r\n\r\nNote that status code is 0 so the command does not fail and this is OK."}}
{"actor":{"display_login":"n0vember"}}