{"action":"created","issue":{"url":"https://api.github.com/repos/candid82/joker/issues/83","repository_url":"https://api.github.com/repos/candid82/joker","labels_url":"https://api.github.com/repos/candid82/joker/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/candid82/joker/issues/83/comments","events_url":"https://api.github.com/repos/candid82/joker/issues/83/events","html_url":"https://github.com/candid82/joker/pull/83","id":359740751,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MTYzMjM3","number":83,"title":"Better command-line parsing","user":{"login":"jcburley","id":430319,"node_id":"MDQ6VXNlcjQzMDMxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/430319?v=4","gravatar_id":"","url":"https://api.github.com/users/jcburley","html_url":"https://github.com/jcburley","followers_url":"https://api.github.com/users/jcburley/followers","following_url":"https://api.github.com/users/jcburley/following{/other_user}","gists_url":"https://api.github.com/users/jcburley/gists{/gist_id}","starred_url":"https://api.github.com/users/jcburley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcburley/subscriptions","organizations_url":"https://api.github.com/users/jcburley/orgs","repos_url":"https://api.github.com/users/jcburley/repos","events_url":"https://api.github.com/users/jcburley/events{/privacy}","received_events_url":"https://api.github.com/users/jcburley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-13T04:43:43Z","updated_at":"2018-09-14T18:00:16Z","closed_at":"2018-09-14T17:55:39Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/candid82/joker/pulls/83","html_url":"https://github.com/candid82/joker/pull/83","diff_url":"https://github.com/candid82/joker/pull/83.diff","patch_url":"https://github.com/candid82/joker/pull/83.patch"},"body":"This is a start at re-introducing something akin to `pflag` without (I hope) breaking anything that clients are currently actually using. It refactors how the command line is parsed (see comments on commits for more info), adds some new functionality and error checking, and a fairly decent `--help` output.\r\n\r\nIt addresses https://github.com/candid82/joker/issues/78 and https://github.com/candid82/joker/issues/76."},"comment":{"url":"https://api.github.com/repos/candid82/joker/issues/comments/421437893","html_url":"https://github.com/candid82/joker/pull/83#issuecomment-421437893","issue_url":"https://api.github.com/repos/candid82/joker/issues/83","id":421437893,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTQzNzg5Mw==","user":{"login":"jcburley","id":430319,"node_id":"MDQ6VXNlcjQzMDMxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/430319?v=4","gravatar_id":"","url":"https://api.github.com/users/jcburley","html_url":"https://github.com/jcburley","followers_url":"https://api.github.com/users/jcburley/followers","following_url":"https://api.github.com/users/jcburley/following{/other_user}","gists_url":"https://api.github.com/users/jcburley/gists{/gist_id}","starred_url":"https://api.github.com/users/jcburley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcburley/subscriptions","organizations_url":"https://api.github.com/users/jcburley/orgs","repos_url":"https://api.github.com/users/jcburley/repos","events_url":"https://api.github.com/users/jcburley/events{/privacy}","received_events_url":"https://api.github.com/users/jcburley/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T18:00:16Z","updated_at":"2018-09-14T18:00:16Z","author_association":"CONTRIBUTOR","body":"Here's what I was getting:\r\n\r\n```\r\n[1] craig@doe:~/.go/src/github.com/candid82/joker (better-options-parsing u+1)$ ./linter-tests.sh \r\nFAILED: ns-cljs-2 (wrong exit code)\r\nFAILED: ns-cljs-5\r\nEXPECTED:\r\n\r\nACTUAL:\r\ntests/linter/ns-cljs-5/input.cljs:2:30: Exception: Unsupported option(s) supplied: :include-macros\r\n\r\nFAILED: threading-macros (wrong exit code)\r\n[1] craig@doe:~/.go/src/github.com/candid82/joker (better-options-parsing * u+1)$\r\n```\r\n\r\nI modified the test script to support a `JOKER_EXE` env var to override the Joker executable name, to print the `res` object on `(wrong exit code)`, and also to `(var-set #'exit-code 1)` in that case as well.\r\n\r\nLet me know if you want a PR with those changes.\r\n\r\nIn the meantime, I'll work on merging this latest `master` into my other pending changes so they can be made into clean PRs.\r\n\r\nThanks!"}}
{"actor":{"display_login":"jcburley"}}