{"action":"opened","issue":{"url":"https://api.github.com/repos/zatosource/zato/issues/517","labels_url":"https://api.github.com/repos/zatosource/zato/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/zatosource/zato/issues/517/comments","events_url":"https://api.github.com/repos/zatosource/zato/issues/517/events","html_url":"https://github.com/zatosource/zato/issues/517","id":127423878,"number":517,"title":"Import CLI modules on demand","user":{"login":"dsuch","id":553332,"avatar_url":"https://avatars.githubusercontent.com/u/553332?v=3","gravatar_id":"","url":"https://api.github.com/users/dsuch","html_url":"https://github.com/dsuch","followers_url":"https://api.github.com/users/dsuch/followers","following_url":"https://api.github.com/users/dsuch/following{/other_user}","gists_url":"https://api.github.com/users/dsuch/gists{/gist_id}","starred_url":"https://api.github.com/users/dsuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsuch/subscriptions","organizations_url":"https://api.github.com/users/dsuch/orgs","repos_url":"https://api.github.com/users/dsuch/repos","events_url":"https://api.github.com/users/dsuch/events{/privacy}","received_events_url":"https://api.github.com/users/dsuch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zatosource/zato/labels/2.0.8","name":"2.0.8","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"dsuch","id":553332,"avatar_url":"https://avatars.githubusercontent.com/u/553332?v=3","gravatar_id":"","url":"https://api.github.com/users/dsuch","html_url":"https://github.com/dsuch","followers_url":"https://api.github.com/users/dsuch/followers","following_url":"https://api.github.com/users/dsuch/following{/other_user}","gists_url":"https://api.github.com/users/dsuch/gists{/gist_id}","starred_url":"https://api.github.com/users/dsuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsuch/subscriptions","organizations_url":"https://api.github.com/users/dsuch/orgs","repos_url":"https://api.github.com/users/dsuch/repos","events_url":"https://api.github.com/users/dsuch/events{/privacy}","received_events_url":"https://api.github.com/users/dsuch/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-01-19T11:21:23Z","updated_at":"2016-01-19T11:21:23Z","closed_at":null,"body":"Right now the CLI is slower than it could be and about 90% of time is spent on imports, e.g. running ```zato info``` will Python import all the other CLI commands and libraries even if they are clearly not needed in this context."}}