{"action":"created","issue":{"url":"https://api.github.com/repos/Raynes/conch/issues/19","labels_url":"https://api.github.com/repos/Raynes/conch/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/Raynes/conch/issues/19/comments","events_url":"https://api.github.com/repos/Raynes/conch/issues/19/events","html_url":"https://github.com/Raynes/conch/issues/19","id":56757285,"number":19,"title":"Passing options to programs","user":{"login":"mathpunk","id":241202,"avatar_url":"https://avatars.githubusercontent.com/u/241202?v=3","gravatar_id":"","url":"https://api.github.com/users/mathpunk","html_url":"https://github.com/mathpunk","followers_url":"https://api.github.com/users/mathpunk/followers","following_url":"https://api.github.com/users/mathpunk/following{/other_user}","gists_url":"https://api.github.com/users/mathpunk/gists{/gist_id}","starred_url":"https://api.github.com/users/mathpunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathpunk/subscriptions","organizations_url":"https://api.github.com/users/mathpunk/orgs","repos_url":"https://api.github.com/users/mathpunk/repos","events_url":"https://api.github.com/users/mathpunk/events{/privacy}","received_events_url":"https://api.github.com/users/mathpunk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T01:28:55Z","updated_at":"2015-02-06T01:46:37Z","closed_at":null,"body":"It is not obvious from the documentation how to pass options to a command.  For example, having tested a command like `find . -maxdepth 1 -type f` in the shell, I define a function\r\n\r\n    (defn some-file-names [dir]\r\n      (with-programs [find]\r\n        (let [path dir]\r\n          (find path \"-maxdepth 1\" \"-type f\" {:seq true}))))\r\n\r\nwhich fails. I didn't get anywhere with the low-level api, either. I don't know whether this is missing functionality, or merely absent documentation."},"comment":{"url":"https://api.github.com/repos/Raynes/conch/issues/comments/73167125","html_url":"https://github.com/Raynes/conch/issues/19#issuecomment-73167125","issue_url":"https://api.github.com/repos/Raynes/conch/issues/19","id":73167125,"user":{"login":"mathpunk","id":241202,"avatar_url":"https://avatars.githubusercontent.com/u/241202?v=3","gravatar_id":"","url":"https://api.github.com/users/mathpunk","html_url":"https://github.com/mathpunk","followers_url":"https://api.github.com/users/mathpunk/followers","following_url":"https://api.github.com/users/mathpunk/following{/other_user}","gists_url":"https://api.github.com/users/mathpunk/gists{/gist_id}","starred_url":"https://api.github.com/users/mathpunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathpunk/subscriptions","organizations_url":"https://api.github.com/users/mathpunk/orgs","repos_url":"https://api.github.com/users/mathpunk/repos","events_url":"https://api.github.com/users/mathpunk/events{/privacy}","received_events_url":"https://api.github.com/users/mathpunk/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T01:46:37Z","updated_at":"2015-02-06T01:46:37Z","body":"Mind you, my specific use case is stupid, because I've just been reminded of `clojure.core/file-seq`, but the general problem may still be of interest to document."}}