{"action":"opened","issue":{"url":"https://api.github.com/repos/coderaiser/redrun/issues/7","repository_url":"https://api.github.com/repos/coderaiser/redrun","labels_url":"https://api.github.com/repos/coderaiser/redrun/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/coderaiser/redrun/issues/7/comments","events_url":"https://api.github.com/repos/coderaiser/redrun/issues/7/events","html_url":"https://github.com/coderaiser/redrun/issues/7","id":233739665,"number":7,"title":"parallel option not recognized","user":{"login":"derhuerst","id":5072613,"avatar_url":"https://avatars1.githubusercontent.com/u/5072613?v=3","gravatar_id":"","url":"https://api.github.com/users/derhuerst","html_url":"https://github.com/derhuerst","followers_url":"https://api.github.com/users/derhuerst/followers","following_url":"https://api.github.com/users/derhuerst/following{/other_user}","gists_url":"https://api.github.com/users/derhuerst/gists{/gist_id}","starred_url":"https://api.github.com/users/derhuerst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derhuerst/subscriptions","organizations_url":"https://api.github.com/users/derhuerst/orgs","repos_url":"https://api.github.com/users/derhuerst/repos","events_url":"https://api.github.com/users/derhuerst/events{/privacy}","received_events_url":"https://api.github.com/users/derhuerst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-05T23:32:32Z","updated_at":"2017-06-05T23:32:32Z","closed_at":null,"body":"I'm trying to run `redrun` with the following setup:\r\n\r\n```json\r\n{\r\n\t\"build\": \"redrun feed-info stops routes trips stop-times calendar calendar-dates agency -p\",\r\n\t\"feed-info\": \"node build/feed-info.js > dest/feed_info.txt\",\r\n\t\"stops\": \"node build/stops.js > dest/stops.txt\",\r\n\t\"routes\": \"node build/routes.js > dest/routes.txt\",\r\n\t\"trips\": \"node build/trips.js > dest/trips.txt\",\r\n\t\"stop-times\": \"node build/stop-times.js > dest/stop_times.txt\",\r\n\t\"calendar\": \"node build/calendar.js > dest/calendar.txt\",\r\n\t\"calendar-dates\": \"node build/calendar-dates.js > dest/calendar_dates.txt\",\r\n\t\"agency\": \"curl -sL 'https://vbb-gtfs.jannisr.de/latest/agency.txt' > dest/agency.txt\"\r\n}\r\n```\r\n\r\nRunning `npm run build` doesn't run the individual scripts in parallel. In fact, logging `arg` [here](https://github.com/coderaiser/redrun/blob/57063f3/bin/redrun.js#L31) reveals that there is no `parallel` flag set.\r\n\r\nLooking at [the parsing logic](https://github.com/coderaiser/redrun/blob/57063f3/lib/cli-parse.js), I wondered why there handwritten parsing wrapped around `yargs-parser`…?"}}
{"actor":{"display_login":"derhuerst"}}