{"action":"created","issue":{"url":"https://api.github.com/repos/oxequa/realize/issues/168","repository_url":"https://api.github.com/repos/oxequa/realize","labels_url":"https://api.github.com/repos/oxequa/realize/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/oxequa/realize/issues/168/comments","events_url":"https://api.github.com/repos/oxequa/realize/issues/168/events","html_url":"https://github.com/oxequa/realize/issues/168","id":301665787,"number":168,"title":"How to pass arguments and flags to my program","user":{"login":"aaerofeev","id":1646784,"avatar_url":"https://avatars0.githubusercontent.com/u/1646784?v=4","gravatar_id":"","url":"https://api.github.com/users/aaerofeev","html_url":"https://github.com/aaerofeev","followers_url":"https://api.github.com/users/aaerofeev/followers","following_url":"https://api.github.com/users/aaerofeev/following{/other_user}","gists_url":"https://api.github.com/users/aaerofeev/gists{/gist_id}","starred_url":"https://api.github.com/users/aaerofeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaerofeev/subscriptions","organizations_url":"https://api.github.com/users/aaerofeev/orgs","repos_url":"https://api.github.com/users/aaerofeev/repos","events_url":"https://api.github.com/users/aaerofeev/events{/privacy}","received_events_url":"https://api.github.com/users/aaerofeev/received_events","type":"User","site_admin":false},"labels":[{"id":721833933,"url":"https://api.github.com/repos/oxequa/realize/labels/Help%20wanted","name":"Help wanted","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"Asoseil","id":6354203,"avatar_url":"https://avatars3.githubusercontent.com/u/6354203?v=4","gravatar_id":"","url":"https://api.github.com/users/Asoseil","html_url":"https://github.com/Asoseil","followers_url":"https://api.github.com/users/Asoseil/followers","following_url":"https://api.github.com/users/Asoseil/following{/other_user}","gists_url":"https://api.github.com/users/Asoseil/gists{/gist_id}","starred_url":"https://api.github.com/users/Asoseil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asoseil/subscriptions","organizations_url":"https://api.github.com/users/Asoseil/orgs","repos_url":"https://api.github.com/users/Asoseil/repos","events_url":"https://api.github.com/users/Asoseil/events{/privacy}","received_events_url":"https://api.github.com/users/Asoseil/received_events","type":"User","site_admin":false},"assignees":[{"login":"Asoseil","id":6354203,"avatar_url":"https://avatars3.githubusercontent.com/u/6354203?v=4","gravatar_id":"","url":"https://api.github.com/users/Asoseil","html_url":"https://github.com/Asoseil","followers_url":"https://api.github.com/users/Asoseil/followers","following_url":"https://api.github.com/users/Asoseil/following{/other_user}","gists_url":"https://api.github.com/users/Asoseil/gists{/gist_id}","starred_url":"https://api.github.com/users/Asoseil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asoseil/subscriptions","organizations_url":"https://api.github.com/users/Asoseil/orgs","repos_url":"https://api.github.com/users/Asoseil/repos","events_url":"https://api.github.com/users/Asoseil/events{/privacy}","received_events_url":"https://api.github.com/users/Asoseil/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-03-02T06:24:10Z","updated_at":"2018-04-15T08:06:53Z","closed_at":null,"author_association":"NONE","body":"My app starts with flags like this:\r\n```\r\ngo run main.go -config <path>\r\n```\r\nHow to configure realize to respond this requirements?\r\nI saw how to pass arguments to go, but not found how to pass it to my application.\r\nThanks.\r\n\r\nThis example didn't work\r\n```\r\nrealize start --run -config <path>\r\n# say: flag provided but not defined: -config\r\n```"},"comment":{"url":"https://api.github.com/repos/oxequa/realize/issues/comments/381388272","html_url":"https://github.com/oxequa/realize/issues/168#issuecomment-381388272","issue_url":"https://api.github.com/repos/oxequa/realize/issues/168","id":381388272,"user":{"login":"Asoseil","id":6354203,"avatar_url":"https://avatars3.githubusercontent.com/u/6354203?v=4","gravatar_id":"","url":"https://api.github.com/users/Asoseil","html_url":"https://github.com/Asoseil","followers_url":"https://api.github.com/users/Asoseil/followers","following_url":"https://api.github.com/users/Asoseil/following{/other_user}","gists_url":"https://api.github.com/users/Asoseil/gists{/gist_id}","starred_url":"https://api.github.com/users/Asoseil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asoseil/subscriptions","organizations_url":"https://api.github.com/users/Asoseil/orgs","repos_url":"https://api.github.com/users/Asoseil/repos","events_url":"https://api.github.com/users/Asoseil/events{/privacy}","received_events_url":"https://api.github.com/users/Asoseil/received_events","type":"User","site_admin":false},"created_at":"2018-04-15T08:06:53Z","updated_at":"2018-04-15T08:06:53Z","author_association":"COLLABORATOR","body":"I just tried to run: realize start --name=test --run mytest=prova\r\nwith this script \r\n```\r\nfunc main() {\r\n\tfor _, val := range os.Args[1:] {\r\n\t\tfmt.Println(val)\r\n\t}\r\n}\r\n```\r\nDoesn't work for you? "}}
{"actor":{"display_login":"Asoseil"}}