{"action":"created","issue":{"url":"https://api.github.com/repos/takama/daemon/issues/7","labels_url":"https://api.github.com/repos/takama/daemon/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/takama/daemon/issues/7/comments","events_url":"https://api.github.com/repos/takama/daemon/issues/7/events","html_url":"https://github.com/takama/daemon/issues/7","id":72476105,"number":7,"title":"no way to specify command line arguments","user":{"login":"bradleypeabody","id":3239710,"avatar_url":"https://avatars.githubusercontent.com/u/3239710?v=3","gravatar_id":"","url":"https://api.github.com/users/bradleypeabody","html_url":"https://github.com/bradleypeabody","followers_url":"https://api.github.com/users/bradleypeabody/followers","following_url":"https://api.github.com/users/bradleypeabody/following{/other_user}","gists_url":"https://api.github.com/users/bradleypeabody/gists{/gist_id}","starred_url":"https://api.github.com/users/bradleypeabody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradleypeabody/subscriptions","organizations_url":"https://api.github.com/users/bradleypeabody/orgs","repos_url":"https://api.github.com/users/bradleypeabody/repos","events_url":"https://api.github.com/users/bradleypeabody/events{/privacy}","received_events_url":"https://api.github.com/users/bradleypeabody/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-01T17:13:56Z","updated_at":"2015-05-03T02:36:18Z","closed_at":null,"body":"There seems to be no way to specify the command line arguments that are used to invoke the service.  Although it is true that many applications can make use of a configuration file to load their settings, it is not always feasible or desirable to entirely avoid using any command line arguments when the daemon is invoked.\r\n\r\nHave you given any thought to how this could be adjusted to accommodate that?  From what I know of systemd and SystemV-style init scripts it would be fairly trivial to include command line arguments in the script itself (I don't know about the MacOS plist stuff but I assume that has similar functionality).  If a way were provided to pass in the command line arguments to Install(), then the calling app could either take them from the actual command line that was called (minus the \"install\" argument) or provide defaults, etc.\r\n\r\nWhat do you think about that idea?\r\n\r\nBest, Brad\r\n"},"comment":{"url":"https://api.github.com/repos/takama/daemon/issues/comments/98430022","html_url":"https://github.com/takama/daemon/issues/7#issuecomment-98430022","issue_url":"https://api.github.com/repos/takama/daemon/issues/7","id":98430022,"user":{"login":"takama","id":3002232,"avatar_url":"https://avatars.githubusercontent.com/u/3002232?v=3","gravatar_id":"","url":"https://api.github.com/users/takama","html_url":"https://github.com/takama","followers_url":"https://api.github.com/users/takama/followers","following_url":"https://api.github.com/users/takama/following{/other_user}","gists_url":"https://api.github.com/users/takama/gists{/gist_id}","starred_url":"https://api.github.com/users/takama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takama/subscriptions","organizations_url":"https://api.github.com/users/takama/orgs","repos_url":"https://api.github.com/users/takama/repos","events_url":"https://api.github.com/users/takama/events{/privacy}","received_events_url":"https://api.github.com/users/takama/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T02:36:18Z","updated_at":"2015-05-03T02:36:18Z","body":"Please imagine that someone is already using this package. And he uses the flags or arguments for their own purposes (loading of config data, anything else). Purpose: without breaking the processing of arguments for the user add a new opportunity. If we use the arguments following commands as is \"install\", then they can be processed earlier than will be dispatched to installWithArgs. That is, the arguments will be interpreted and performed before they needed. It is important, without breaking the code of users who are already using this package, gently add the new feature.\r\n\r\nthanks,\r\nIgor"}}