{"action":"created","issue":{"url":"https://api.github.com/repos/eivind88/prm/issues/16","labels_url":"https://api.github.com/repos/eivind88/prm/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/eivind88/prm/issues/16/comments","events_url":"https://api.github.com/repos/eivind88/prm/issues/16/events","html_url":"https://github.com/eivind88/prm/issues/16","id":107736090,"number":16,"title":"Pass parameters to start script","user":{"login":"liborw","id":132918,"avatar_url":"https://avatars.githubusercontent.com/u/132918?v=3","gravatar_id":"","url":"https://api.github.com/users/liborw","html_url":"https://github.com/liborw","followers_url":"https://api.github.com/users/liborw/followers","following_url":"https://api.github.com/users/liborw/following{/other_user}","gists_url":"https://api.github.com/users/liborw/gists{/gist_id}","starred_url":"https://api.github.com/users/liborw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liborw/subscriptions","organizations_url":"https://api.github.com/users/liborw/orgs","repos_url":"https://api.github.com/users/liborw/repos","events_url":"https://api.github.com/users/liborw/events{/privacy}","received_events_url":"https://api.github.com/users/liborw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-22T15:12:54Z","updated_at":"2015-09-23T11:46:22Z","closed_at":null,"body":"It would be nice to be able to pass additional parameters to the start script."},"comment":{"url":"https://api.github.com/repos/eivind88/prm/issues/comments/142576153","html_url":"https://github.com/eivind88/prm/issues/16#issuecomment-142576153","issue_url":"https://api.github.com/repos/eivind88/prm/issues/16","id":142576153,"user":{"login":"IamBc","id":4281340,"avatar_url":"https://avatars.githubusercontent.com/u/4281340?v=3","gravatar_id":"","url":"https://api.github.com/users/IamBc","html_url":"https://github.com/IamBc","followers_url":"https://api.github.com/users/IamBc/followers","following_url":"https://api.github.com/users/IamBc/following{/other_user}","gists_url":"https://api.github.com/users/IamBc/gists{/gist_id}","starred_url":"https://api.github.com/users/IamBc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IamBc/subscriptions","organizations_url":"https://api.github.com/users/IamBc/orgs","repos_url":"https://api.github.com/users/IamBc/repos","events_url":"https://api.github.com/users/IamBc/events{/privacy}","received_events_url":"https://api.github.com/users/IamBc/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T11:46:22Z","updated_at":"2015-09-23T11:46:22Z","body":"Currently the smallest unit in prm is a project. Although it is an interesting idea to look at a concept for project made out of projects\r\nI can't think of an imediate abstraction to map it to.\r\n\r\nThat being said, what you ask can be done easily:\r\n1) In your start/end script you can call another script which will do the standard stuff and then have a few lines \r\nof the \"robot specific\" script.\r\n2) You can just parametrise your script and call it with specific parameters inside your start/end scripts.\r\n\r\nDoes this make scence ?\r\n\r\nRegards!"}}