{"action":"created","issue":{"url":"https://api.github.com/repos/ugexe/zef/issues/191","repository_url":"https://api.github.com/repos/ugexe/zef","labels_url":"https://api.github.com/repos/ugexe/zef/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/ugexe/zef/issues/191/comments","events_url":"https://api.github.com/repos/ugexe/zef/issues/191/events","html_url":"https://github.com/ugexe/zef/issues/191","id":247347117,"number":191,"title":"`zef` doesn't parse command-line options correctly when 'installed'","user":{"login":"jonathonf","id":559369,"avatar_url":"https://avatars2.githubusercontent.com/u/559369?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathonf","html_url":"https://github.com/jonathonf","followers_url":"https://api.github.com/users/jonathonf/followers","following_url":"https://api.github.com/users/jonathonf/following{/other_user}","gists_url":"https://api.github.com/users/jonathonf/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathonf/subscriptions","organizations_url":"https://api.github.com/users/jonathonf/orgs","repos_url":"https://api.github.com/users/jonathonf/repos","events_url":"https://api.github.com/users/jonathonf/events{/privacy}","received_events_url":"https://api.github.com/users/jonathonf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-08-02T10:46:01Z","updated_at":"2017-08-08T05:16:30Z","closed_at":"2017-08-02T12:37:42Z","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Context\r\n<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->\r\nAfter installing `zef` --to='a location', `zef` fails to run from that location.\r\n\r\n## Expected Behavior\r\n<!--- Tell us what should happen -->\r\n`zef` should output usage instructions.\r\n\r\n## Actual Behavior\r\n<!--- Tell us what happens instead -->\r\n`zef` appears to incorrectly parse the command-line input and ignores any arguments provided.\r\n\r\n## Steps to Reproduce\r\n<!--- Provide a unambiguous set of steps to reproduce this bug. -->\r\n<!--- Please use the --debug flag: e.g. `zef --debug ...` -->\r\n```\r\n$ rm -fr ~/.perl6 ~/.zef\r\n$ cd /tmp\r\n$ git clone --depth=1 https://github.com/ugexe/zef.git\r\n$ cd zef\r\n$ perl6 -Ilib bin/zef\r\nZef - Perl6 Module Management\r\n\r\nUSAGE\r\n\r\n    zef [flags|options] command [args]\r\n\r\n\r\nCOMMANDS\r\n\r\n    install                 Install specific dependencies by name or path\r\n.\r\n. #snip#\r\n.\r\n    --<short-name>  # `--cpan`  Enable plugin with short-name `cpan`\r\n    --/<short-name> # `--/cpan` Disable plugin with short-name `cpan`\r\n\r\n$ perl6 -Ilib bin/zef install --to='inst#/tmp/perl6' zef\r\n===> Searching for: zef\r\n===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan.json\r\n===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects.json\r\n===> Testing: zef:ver('0.1.26'):auth('github:ugexe')\r\n===> Testing [OK] for zef:ver('0.1.26'):auth('github:ugexe')\r\n===> Installing: zef:ver('0.1.26'):auth('github:ugexe')\r\n\r\n1 bin/ script [zef] installed to:\r\n/tmp/perl6/bin\r\n\r\n$ export PATH=/tmp/perl6/bin:$PATH\r\n$ zef --debug\r\n===SORRY!===\r\nNo candidate found for 'zef' that match your criteria.\r\nDid you perhaps mean one of these?\r\n  Distribution | Author(ity) | Version\r\n               |             |        \r\n               |             |        \r\n               |             |        \r\n               |             |\r\n$ zef --debug update\r\n===SORRY!===\r\nNo candidate found for 'zef' that match your criteria.\r\nDid you perhaps mean one of these?\r\n  Distribution | Author(ity) | Version\r\n               |             |        \r\n               |             |        \r\n               |             |        \r\n               |             |\r\n$ perl6 --ll-exception /tmp/perl6/bin/zef\r\n===SORRY!===\r\nNo candidate found for 'zef' that match your criteria.\r\nDid you perhaps mean one of these?\r\n  Distribution | Author(ity) | Version\r\n               |             |        \r\n               |             |        \r\n               |             |        \r\n               |             |\r\n```\r\n\r\n## Your Environment\r\n<!--- Show the output from the following commands to tell us more about your environment -->\r\nManjaro Linux (Arch Linux-derivative), GCC 7.1.1, ZSH 5.3.1, BASH 4.4.012\r\n\r\n* perl6 -v\r\n```\r\nThis is Rakudo version 2017.07 built on MoarVM version 2017.07\r\nimplementing Perl 6.c.\r\n```\r\n* perl6 -e \"say $*VM.config<os>\"\r\n```\r\nlinux\r\n```\r\n* zef info zef\r\n```\r\n$ perl6 -Ilib bin/zef info zef\r\n- Info for: zef\r\n- Identity: zef:ver('0.1.26'):auth('github:ugexe')\r\n- Recommended By: Zef::Repository::LocalCache\r\nDescription:\t It's like [cpanm] wearing high heels with a tracksuit\r\nLicense:\t Artistic-2.0\r\nSource-url:\t git://github.com/ugexe/zef.git\r\nProvides: 35 modules\r\nSupport:\r\n#   bugtracker:\thttps://github.com/ugexe/zef/issues\r\nDepends: 0 items\r\n```"},"comment":{"url":"https://api.github.com/repos/ugexe/zef/issues/comments/320852401","html_url":"https://github.com/ugexe/zef/issues/191#issuecomment-320852401","issue_url":"https://api.github.com/repos/ugexe/zef/issues/191","id":320852401,"user":{"login":"farhad2017","id":30655038,"avatar_url":"https://avatars3.githubusercontent.com/u/30655038?v=4","gravatar_id":"","url":"https://api.github.com/users/farhad2017","html_url":"https://github.com/farhad2017","followers_url":"https://api.github.com/users/farhad2017/followers","following_url":"https://api.github.com/users/farhad2017/following{/other_user}","gists_url":"https://api.github.com/users/farhad2017/gists{/gist_id}","starred_url":"https://api.github.com/users/farhad2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farhad2017/subscriptions","organizations_url":"https://api.github.com/users/farhad2017/orgs","repos_url":"https://api.github.com/users/farhad2017/repos","events_url":"https://api.github.com/users/farhad2017/events{/privacy}","received_events_url":"https://api.github.com/users/farhad2017/received_events","type":"User","site_admin":false},"created_at":"2017-08-08T05:16:30Z","updated_at":"2017-08-08T05:16:30Z","body":"c"}}
{"actor":{"display_login":"farhad2017"}}