{"action":"created","issue":{"url":"https://api.github.com/repos/slaclab/pydm/issues/162","repository_url":"https://api.github.com/repos/slaclab/pydm","labels_url":"https://api.github.com/repos/slaclab/pydm/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/slaclab/pydm/issues/162/comments","events_url":"https://api.github.com/repos/slaclab/pydm/issues/162/events","html_url":"https://github.com/slaclab/pydm/issues/162","id":270126770,"number":162,"title":"PyDMShellCommand - Parameters property","user":{"login":"hhslepicka","id":8185425,"avatar_url":"https://avatars0.githubusercontent.com/u/8185425?v=4","gravatar_id":"","url":"https://api.github.com/users/hhslepicka","html_url":"https://github.com/hhslepicka","followers_url":"https://api.github.com/users/hhslepicka/followers","following_url":"https://api.github.com/users/hhslepicka/following{/other_user}","gists_url":"https://api.github.com/users/hhslepicka/gists{/gist_id}","starred_url":"https://api.github.com/users/hhslepicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhslepicka/subscriptions","organizations_url":"https://api.github.com/users/hhslepicka/orgs","repos_url":"https://api.github.com/users/hhslepicka/repos","events_url":"https://api.github.com/users/hhslepicka/events{/privacy}","received_events_url":"https://api.github.com/users/hhslepicka/received_events","type":"User","site_admin":false},"labels":[{"id":382551948,"url":"https://api.github.com/repos/slaclab/pydm/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-31T21:35:13Z","updated_at":"2017-11-01T17:43:39Z","closed_at":"2017-11-01T17:43:39Z","author_association":"MEMBER","body":"Opening this issue for discussion:\r\nAs of now there is no easy way to send in additional parameters to the command to be executed without changing the command property.\r\n\r\nThe idea is to add a new and optional pyqtproperty to hold a dictionary named parameters which if informed would be appended to the command property.\r\n\r\nExample:\r\nOne wants to call the following command:\r\n`my_exec --kwargs=foo`\r\n\r\nThe current implementation requires that you change the command to that or to any other set of parameters desired.\r\n\r\nWith the parameters property one could do:\r\n```python\r\ncommand = 'my_exec'\r\nparameters = {\"--kwargs\":\"foo\"}\r\n```\r\n\r\nThis parameters property could be changed on other events without the need to keep changing the command.\r\n\r\nWhat are your inputs into this idea @mattgibbs @gabrielfedel @laispc @fernandohds564 \r\nThis need came with a question from @teddyrendahl"},"comment":{"url":"https://api.github.com/repos/slaclab/pydm/issues/comments/341183168","html_url":"https://github.com/slaclab/pydm/issues/162#issuecomment-341183168","issue_url":"https://api.github.com/repos/slaclab/pydm/issues/162","id":341183168,"user":{"login":"hhslepicka","id":8185425,"avatar_url":"https://avatars0.githubusercontent.com/u/8185425?v=4","gravatar_id":"","url":"https://api.github.com/users/hhslepicka","html_url":"https://github.com/hhslepicka","followers_url":"https://api.github.com/users/hhslepicka/followers","following_url":"https://api.github.com/users/hhslepicka/following{/other_user}","gists_url":"https://api.github.com/users/hhslepicka/gists{/gist_id}","starred_url":"https://api.github.com/users/hhslepicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhslepicka/subscriptions","organizations_url":"https://api.github.com/users/hhslepicka/orgs","repos_url":"https://api.github.com/users/hhslepicka/repos","events_url":"https://api.github.com/users/hhslepicka/events{/privacy}","received_events_url":"https://api.github.com/users/hhslepicka/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T17:43:39Z","updated_at":"2017-11-01T17:43:39Z","author_association":"MEMBER","body":"Fair enough! 👍 If anyone find it useful please reopen the issue! Closing as it does not seem to be necessary! "}}
{"actor":{"display_login":"hhslepicka"}}