{"action":"created","issue":{"url":"https://api.github.com/repos/mitsuhiko/click/issues/360","labels_url":"https://api.github.com/repos/mitsuhiko/click/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/click/issues/360/comments","events_url":"https://api.github.com/repos/mitsuhiko/click/issues/360/events","html_url":"https://github.com/mitsuhiko/click/issues/360","id":88138707,"number":360,"title":"Support for `docker` like arguments termination","user":{"login":"omribahumi","id":2558457,"avatar_url":"https://avatars.githubusercontent.com/u/2558457?v=3","gravatar_id":"","url":"https://api.github.com/users/omribahumi","html_url":"https://github.com/omribahumi","followers_url":"https://api.github.com/users/omribahumi/followers","following_url":"https://api.github.com/users/omribahumi/following{/other_user}","gists_url":"https://api.github.com/users/omribahumi/gists{/gist_id}","starred_url":"https://api.github.com/users/omribahumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omribahumi/subscriptions","organizations_url":"https://api.github.com/users/omribahumi/orgs","repos_url":"https://api.github.com/users/omribahumi/repos","events_url":"https://api.github.com/users/omribahumi/events{/privacy}","received_events_url":"https://api.github.com/users/omribahumi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitsuhiko/click/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-14T07:19:31Z","updated_at":"2015-06-21T16:48:07Z","closed_at":null,"body":"Is it possible to replace the `--` termination with something else?\r\n\r\nI would like to wrap the `docker run` command with my own, preserving the `docker` behaviour.\r\n\r\nThe `docker run` command arguments are:\r\n```\r\nUsage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]\r\n```\r\n\r\nThe `IMAGE` parameter terminates the command line arguments (and is retrievable from the command line parser). I would like to do the same with click. Essentially, this means that the `--` termination would be configurable and retrievable.\r\n\r\nThe implementation I had in mind is specifying an extra keyword argument to the `@click.argument()` decorator (something like terminating=True)\r\n\r\nAny thoughts?"},"comment":{"url":"https://api.github.com/repos/mitsuhiko/click/issues/comments/113927022","html_url":"https://github.com/mitsuhiko/click/issues/360#issuecomment-113927022","issue_url":"https://api.github.com/repos/mitsuhiko/click/issues/360","id":113927022,"user":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T16:48:06Z","updated_at":"2015-06-21T16:48:06Z","body":"I see, but again, it's not arguments, you mean options."}}