{"action":"closed","issue":{"url":"https://api.github.com/repos/voormedia/rails-erd/issues/231","repository_url":"https://api.github.com/repos/voormedia/rails-erd","labels_url":"https://api.github.com/repos/voormedia/rails-erd/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/voormedia/rails-erd/issues/231/comments","events_url":"https://api.github.com/repos/voormedia/rails-erd/issues/231/events","html_url":"https://github.com/voormedia/rails-erd/issues/231","id":191999457,"number":231,"title":"Using --only with a single model from command line","user":{"login":"vzamanillo","id":10209695,"avatar_url":"https://avatars0.githubusercontent.com/u/10209695?v=3","gravatar_id":"","url":"https://api.github.com/users/vzamanillo","html_url":"https://github.com/vzamanillo","followers_url":"https://api.github.com/users/vzamanillo/followers","following_url":"https://api.github.com/users/vzamanillo/following{/other_user}","gists_url":"https://api.github.com/users/vzamanillo/gists{/gist_id}","starred_url":"https://api.github.com/users/vzamanillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vzamanillo/subscriptions","organizations_url":"https://api.github.com/users/vzamanillo/orgs","repos_url":"https://api.github.com/users/vzamanillo/repos","events_url":"https://api.github.com/users/vzamanillo/events{/privacy}","received_events_url":"https://api.github.com/users/vzamanillo/received_events","type":"User","site_admin":false},"labels":[{"id":157290848,"url":"https://api.github.com/repos/voormedia/rails-erd/labels/Bug","name":"Bug","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-28T12:56:33Z","updated_at":"2017-04-19T19:08:48Z","closed_at":"2017-04-19T19:08:48Z","body":"I was looking for an example of using `--only` from the command line, I suppose only expects an String to conform an array\r\n\r\n`--only=\"ModelA,ModelB\"`\r\n\r\nBut I don't know how to pass a single model, actually I am doing something like this:\r\n\r\n`--only=\"ModelA, \"`\r\n\r\nwith\r\n\r\n`--only=\"ModelA\"`\r\n\r\nfails because is an String not an array.\r\n"}}
{"actor":{"display_login":"kerrizor"}}