{"action":"created","issue":{"url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/43","repository_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils","labels_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/43/comments","events_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/43/events","html_url":"https://github.com/natemcmaster/CommandLineUtils/issues/43","id":290807370,"number":43,"title":"Example of how to define commands that require components to be injected","user":{"login":"ninjaboy","id":275925,"avatar_url":"https://avatars3.githubusercontent.com/u/275925?v=4","gravatar_id":"","url":"https://api.github.com/users/ninjaboy","html_url":"https://github.com/ninjaboy","followers_url":"https://api.github.com/users/ninjaboy/followers","following_url":"https://api.github.com/users/ninjaboy/following{/other_user}","gists_url":"https://api.github.com/users/ninjaboy/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjaboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjaboy/subscriptions","organizations_url":"https://api.github.com/users/ninjaboy/orgs","repos_url":"https://api.github.com/users/ninjaboy/repos","events_url":"https://api.github.com/users/ninjaboy/events{/privacy}","received_events_url":"https://api.github.com/users/ninjaboy/received_events","type":"User","site_admin":false},"labels":[{"id":767655933,"url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/labels/documentation","name":"documentation","color":"081f6b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-23T11:47:54Z","updated_at":"2018-03-06T06:40:47Z","closed_at":"2018-03-06T06:40:47Z","author_association":"NONE","body":"hi @natemcmaster ,\r\n\r\nI am struggling to find an example of how it is envisioned to define commands that accept custom dependencies injected using declarative syntax. \r\nIs there any place where you could point me to see an example of how to do this?"},"comment":{"url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/comments/370679969","html_url":"https://github.com/natemcmaster/CommandLineUtils/issues/43#issuecomment-370679969","issue_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/43","id":370679969,"user":{"login":"natemcmaster","id":2696087,"avatar_url":"https://avatars0.githubusercontent.com/u/2696087?v=4","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T06:40:47Z","updated_at":"2018-03-06T06:40:47Z","author_association":"OWNER","body":"I've added support for this. See the sample I wrote here: https://github.com/natemcmaster/CommandLineUtils/blob/cc4d6015bb91eb16f2cb2bb867b858fe0f979d8c/samples/Conventions/DependencyInjection.cs\r\n\r\nThis will be out in 2.2.0-beta, or you can try the nightly builds (see README). Give it a shot and let me know if it works for you."}}
{"actor":{"display_login":"natemcmaster"}}