{"action":"created","issue":{"url":"https://api.github.com/repos/jessevdk/go-flags/issues/122","labels_url":"https://api.github.com/repos/jessevdk/go-flags/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/jessevdk/go-flags/issues/122/comments","events_url":"https://api.github.com/repos/jessevdk/go-flags/issues/122/events","html_url":"https://github.com/jessevdk/go-flags/pull/122","id":52462939,"number":122,"title":"add support for requiring `rest` positional args","user":{"login":"peekeri","id":1290621,"avatar_url":"https://avatars.githubusercontent.com/u/1290621?v=3","gravatar_id":"","url":"https://api.github.com/users/peekeri","html_url":"https://github.com/peekeri","followers_url":"https://api.github.com/users/peekeri/followers","following_url":"https://api.github.com/users/peekeri/following{/other_user}","gists_url":"https://api.github.com/users/peekeri/gists{/gist_id}","starred_url":"https://api.github.com/users/peekeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peekeri/subscriptions","organizations_url":"https://api.github.com/users/peekeri/orgs","repos_url":"https://api.github.com/users/peekeri/repos","events_url":"https://api.github.com/users/peekeri/events{/privacy}","received_events_url":"https://api.github.com/users/peekeri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-19T09:25:55Z","updated_at":"2015-02-14T17:10:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jessevdk/go-flags/pulls/122","html_url":"https://github.com/jessevdk/go-flags/pull/122","diff_url":"https://github.com/jessevdk/go-flags/pull/122.diff","patch_url":"https://github.com/jessevdk/go-flags/pull/122.patch"},"body":"By default the slice in the end of positional args is not required, but often that\r\nsort of slice is used for example in cases where multiple file names are passed\r\nand at least one is required. To support this use case, add support for specifying\r\n`required` tag for the last slice of positional args and check that when verifying\r\ncommand arguments.\r\n"},"comment":{"url":"https://api.github.com/repos/jessevdk/go-flags/issues/comments/74383166","html_url":"https://github.com/jessevdk/go-flags/pull/122#issuecomment-74383166","issue_url":"https://api.github.com/repos/jessevdk/go-flags/issues/122","id":74383166,"user":{"login":"zimmski","id":1847950,"avatar_url":"https://avatars.githubusercontent.com/u/1847950?v=3","gravatar_id":"","url":"https://api.github.com/users/zimmski","html_url":"https://github.com/zimmski","followers_url":"https://api.github.com/users/zimmski/followers","following_url":"https://api.github.com/users/zimmski/following{/other_user}","gists_url":"https://api.github.com/users/zimmski/gists{/gist_id}","starred_url":"https://api.github.com/users/zimmski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimmski/subscriptions","organizations_url":"https://api.github.com/users/zimmski/orgs","repos_url":"https://api.github.com/users/zimmski/repos","events_url":"https://api.github.com/users/zimmski/events{/privacy}","received_events_url":"https://api.github.com/users/zimmski/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T17:10:17Z","updated_at":"2015-02-14T17:10:17Z","body":"Sorry, I never looked as this PR. What you have implemented here is basically what we discussed in other PRs and issues. I think the most prominent is starting from the comment here https://github.com/jessevdk/go-flags/pull/86#issuecomment-55570540\r\nI think it would be useful to add your voice to the conversation. Your PR just solves one problem we have with positional arguments. So it is more like a workaround. I think it would be better to handle the other problems too."}}