{"action":"closed","issue":{"url":"https://api.github.com/repos/neithere/argh/issues/131","repository_url":"https://api.github.com/repos/neithere/argh","labels_url":"https://api.github.com/repos/neithere/argh/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/neithere/argh/issues/131/comments","events_url":"https://api.github.com/repos/neithere/argh/issues/131/events","html_url":"https://github.com/neithere/argh/issues/131","id":361652328,"node_id":"MDU6SXNzdWUzNjE2NTIzMjg=","number":131,"title":"Avoiding namespace collisions for command names","user":{"login":"bede","id":1007616,"node_id":"MDQ6VXNlcjEwMDc2MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1007616?v=4","gravatar_id":"","url":"https://api.github.com/users/bede","html_url":"https://github.com/bede","followers_url":"https://api.github.com/users/bede/followers","following_url":"https://api.github.com/users/bede/following{/other_user}","gists_url":"https://api.github.com/users/bede/gists{/gist_id}","starred_url":"https://api.github.com/users/bede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bede/subscriptions","organizations_url":"https://api.github.com/users/bede/orgs","repos_url":"https://api.github.com/users/bede/repos","events_url":"https://api.github.com/users/bede/events{/privacy}","received_events_url":"https://api.github.com/users/bede/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-19T09:13:38Z","updated_at":"2018-09-19T09:35:20Z","closed_at":"2018-09-19T09:35:20Z","author_association":"NONE","body":"I really like Argh and have used it for several projects. I've often found myself contorting my subcommand names to avoid namespace collisions. For example, today I want to write a `filter` subcommand, but defining a function with this name would be bad practice.\r\n\r\nIs there a recommended workaround for this issue? One way could be to truncate trailing underscores from CLI function names (which are converted to dashes currently by Argh)\r\n\r\nIf this were the case it would be possible to define a function `filter_()` which was then called as the subcommand `filter`."}}
{"actor":{"display_login":"bede"}}