{"action":"created","issue":{"url":"https://api.github.com/repos/CiscoCloud/distributive/issues/67","labels_url":"https://api.github.com/repos/CiscoCloud/distributive/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/CiscoCloud/distributive/issues/67/comments","events_url":"https://api.github.com/repos/CiscoCloud/distributive/issues/67/events","html_url":"https://github.com/CiscoCloud/distributive/issues/67","id":97488564,"number":67,"title":"Make args more intuitive","user":{"login":"soellman","id":3181089,"avatar_url":"https://avatars.githubusercontent.com/u/3181089?v=3","gravatar_id":"","url":"https://api.github.com/users/soellman","html_url":"https://github.com/soellman","followers_url":"https://api.github.com/users/soellman/followers","following_url":"https://api.github.com/users/soellman/following{/other_user}","gists_url":"https://api.github.com/users/soellman/gists{/gist_id}","starred_url":"https://api.github.com/users/soellman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soellman/subscriptions","organizations_url":"https://api.github.com/users/soellman/orgs","repos_url":"https://api.github.com/users/soellman/repos","events_url":"https://api.github.com/users/soellman/events{/privacy}","received_events_url":"https://api.github.com/users/soellman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CiscoCloud/distributive/labels/easy%20fix","name":"easy fix","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-27T15:22:04Z","updated_at":"2015-10-26T04:01:12Z","closed_at":"2015-10-26T04:01:11Z","body":"The behavior of -f and -d flags is weird. Maybe let's have a set of reasonable defaults?\r\n\r\nI'd propose:\r\nif no flags - run all checks in /etc/distributive.d (default dir)\r\n- fail if dir doesn't exist\r\n\r\nif dir specified - run all checks inside dir\r\n- fail if dir doesn't exist\r\n\r\nif file specified\r\n- absolute file exists - use it\r\n- relative file exists - use it\r\n- relative file exists in dir, use it\r\n- otherwise fail\r\n\r\nif both dir and file specified - do same as if just file was specified\r\nif stdin OR url specified - use them\r\nif more than one of (file and/or dir), stdin, and url is specified, complain and exit\r\n\r\nSomething like that. Thanks!"},"comment":{"url":"https://api.github.com/repos/CiscoCloud/distributive/issues/comments/151018897","html_url":"https://github.com/CiscoCloud/distributive/issues/67#issuecomment-151018897","issue_url":"https://api.github.com/repos/CiscoCloud/distributive/issues/67","id":151018897,"user":{"login":"siddharthist","id":4294323,"avatar_url":"https://avatars.githubusercontent.com/u/4294323?v=3","gravatar_id":"","url":"https://api.github.com/users/siddharthist","html_url":"https://github.com/siddharthist","followers_url":"https://api.github.com/users/siddharthist/followers","following_url":"https://api.github.com/users/siddharthist/following{/other_user}","gists_url":"https://api.github.com/users/siddharthist/gists{/gist_id}","starred_url":"https://api.github.com/users/siddharthist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddharthist/subscriptions","organizations_url":"https://api.github.com/users/siddharthist/orgs","repos_url":"https://api.github.com/users/siddharthist/repos","events_url":"https://api.github.com/users/siddharthist/events{/privacy}","received_events_url":"https://api.github.com/users/siddharthist/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T04:01:11Z","updated_at":"2015-10-26T04:01:11Z","body":"Closed in  396697e"}}