{"action":"created","issue":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/187","labels_url":"https://api.github.com/repos/yadayada/acd_cli/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/yadayada/acd_cli/issues/187/comments","events_url":"https://api.github.com/repos/yadayada/acd_cli/issues/187/events","html_url":"https://github.com/yadayada/acd_cli/issues/187","id":115078646,"number":187,"title":"Deleting a node with a name starting with `-`","user":{"login":"jmoriau","id":13310881,"avatar_url":"https://avatars.githubusercontent.com/u/13310881?v=3","gravatar_id":"","url":"https://api.github.com/users/jmoriau","html_url":"https://github.com/jmoriau","followers_url":"https://api.github.com/users/jmoriau/followers","following_url":"https://api.github.com/users/jmoriau/following{/other_user}","gists_url":"https://api.github.com/users/jmoriau/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoriau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoriau/subscriptions","organizations_url":"https://api.github.com/users/jmoriau/orgs","repos_url":"https://api.github.com/users/jmoriau/repos","events_url":"https://api.github.com/users/jmoriau/events{/privacy}","received_events_url":"https://api.github.com/users/jmoriau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yadayada/acd_cli/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-04T15:30:15Z","updated_at":"2015-11-04T15:54:47Z","closed_at":"2015-11-04T15:54:47Z","body":"I ran into this issue today, consider this:\r\n\r\n    $ acd_cli ls /BUCKET | grep filename\r\n    [-JgLhSg2SyqbPHEQZmcKNZ] [A] filename\r\n\r\n    $ acd_cli trash -JgLhSg2SyqbPHEQZmcKNZ\r\n    usage: acd_cli trash [-h] node\r\n    acd_cli trash: error: the following arguments are required: node\r\n\r\n    $ acd_cli trash '-JgLhSg2SyqbPHEQZmcKNZ'\r\n    usage: acd_cli trash [-h] node\r\n    acd_cli trash: error: the following arguments are required: node\r\n\r\n    $ acd_cli trash \\-JgLhSg2SyqbPHEQZmcKNZ\r\n    usage: acd_cli trash [-h] node\r\n    acd_cli trash: error: the following arguments are required: node\r\n\r\n    $ acd_cli trash \"-JgLhSg2SyqbPHEQZmcKNZ\"\r\n    usage: acd_cli trash [-h] node\r\n    acd_cli trash: error: the following arguments are required: node\r\n\r\nI tried everything I could think of but `acd_cli` is convinced that the node name is an option, I see why but I don't see how to fix this :/\r\n\r\nAny idea ?"},"comment":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/comments/153771984","html_url":"https://github.com/yadayada/acd_cli/issues/187#issuecomment-153771984","issue_url":"https://api.github.com/repos/yadayada/acd_cli/issues/187","id":153771984,"user":{"login":"yadayada","id":4608955,"avatar_url":"https://avatars.githubusercontent.com/u/4608955?v=3","gravatar_id":"","url":"https://api.github.com/users/yadayada","html_url":"https://github.com/yadayada","followers_url":"https://api.github.com/users/yadayada/followers","following_url":"https://api.github.com/users/yadayada/following{/other_user}","gists_url":"https://api.github.com/users/yadayada/gists{/gist_id}","starred_url":"https://api.github.com/users/yadayada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yadayada/subscriptions","organizations_url":"https://api.github.com/users/yadayada/orgs","repos_url":"https://api.github.com/users/yadayada/repos","events_url":"https://api.github.com/users/yadayada/events{/privacy}","received_events_url":"https://api.github.com/users/yadayada/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T15:54:46Z","updated_at":"2015-11-04T15:54:46Z","body":"See #30 or ``acd_cli -h``."}}