{"action":"created","issue":{"url":"https://api.github.com/repos/jrperritt/rack/issues/42","labels_url":"https://api.github.com/repos/jrperritt/rack/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/jrperritt/rack/issues/42/comments","events_url":"https://api.github.com/repos/jrperritt/rack/issues/42/events","html_url":"https://github.com/jrperritt/rack/issues/42","id":87772179,"number":42,"title":"global flags","user":{"login":"jrperritt","id":1733222,"avatar_url":"https://avatars.githubusercontent.com/u/1733222?v=3","gravatar_id":"","url":"https://api.github.com/users/jrperritt","html_url":"https://github.com/jrperritt","followers_url":"https://api.github.com/users/jrperritt/followers","following_url":"https://api.github.com/users/jrperritt/following{/other_user}","gists_url":"https://api.github.com/users/jrperritt/gists{/gist_id}","starred_url":"https://api.github.com/users/jrperritt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrperritt/subscriptions","organizations_url":"https://api.github.com/users/jrperritt/orgs","repos_url":"https://api.github.com/users/jrperritt/repos","events_url":"https://api.github.com/users/jrperritt/events{/privacy}","received_events_url":"https://api.github.com/users/jrperritt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jrperritt/rack/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-06-12T16:02:18Z","updated_at":"2015-06-16T19:42:24Z","closed_at":null,"body":"I want to open this up to discussion as well. There are some flags that every command can provide (such as output format and auth credentials. Currently, those flags exist with all the others in a command (namely, anywhere after the last subcommand). I did it this way originally so that users wouldn't have to know exactly where to put certain flags within the command, but I can understand how some may like the idea of global flags."},"comment":{"url":"https://api.github.com/repos/jrperritt/rack/issues/comments/112544543","html_url":"https://github.com/jrperritt/rack/issues/42#issuecomment-112544543","issue_url":"https://api.github.com/repos/jrperritt/rack/issues/42","id":112544543,"user":{"login":"jrperritt","id":1733222,"avatar_url":"https://avatars.githubusercontent.com/u/1733222?v=3","gravatar_id":"","url":"https://api.github.com/users/jrperritt","html_url":"https://github.com/jrperritt","followers_url":"https://api.github.com/users/jrperritt/followers","following_url":"https://api.github.com/users/jrperritt/following{/other_user}","gists_url":"https://api.github.com/users/jrperritt/gists{/gist_id}","starred_url":"https://api.github.com/users/jrperritt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrperritt/subscriptions","organizations_url":"https://api.github.com/users/jrperritt/orgs","repos_url":"https://api.github.com/users/jrperritt/repos","events_url":"https://api.github.com/users/jrperritt/events{/privacy}","received_events_url":"https://api.github.com/users/jrperritt/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T19:42:24Z","updated_at":"2015-06-16T19:42:24Z","body":"I'm pretty sure we can make any orientation of flags work, but I think we should decide on only one. For example, output and auth flags should either have to go after `rack` or have to go somewhere after the last subcommand. I don't think we should allow both forms."}}