Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-toolchain, 2016-03-02

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:48 ilbot3 joined #perl6-toolchain
02:48 Topic for #perl6-toolchain is now Fire is step THREE! | https://github.com/perl6/toolchain-bikeshed | Channel logs: http://irclog.perlgeek.de/perl6-toolchain/today | useful prior art: https://metacpan.org/pod/CPAN::Meta::Spec
04:35 cognominal joined #perl6-toolchain
06:50 domidumont joined #perl6-toolchain
06:55 domidumont joined #perl6-toolchain
10:46 cognominal joined #perl6-toolchain
12:08 sufrostico joined #perl6-toolchain
15:01 sufrostico joined #perl6-toolchain
15:11 lizmat joined #perl6-toolchain
16:12 hoelzro joined #perl6-toolchain
16:14 flussenc1 joined #perl6-toolchain
16:36 ugexe anyone have a suggestions on how i can handle different content storages (p6c ecosystem, metacpan) via the command line? as additional storages can be added after install it can't just be hard coded names in the MAIN signature
16:37 ugexe im wondering i should use an INIT to figure out at runtime a `short-name` attribute of each content storage (much like CUR), and then parse @*ARGS for --<short-name> or --/<short-name>, although these wouldnt be seen in the usage that shows command+args
16:38 llfourn ugexe: you can write your own usage
16:39 llfourn i'd say your just going to have to manually handle cli args and usage
16:39 ugexe right, i do that. but it doesnt help when you do `script --not-an-arg`
16:40 llfourn what do you mean?
16:40 llfourn (I've never used @*ARGS before)
16:41 llfourn USAGE can be determined at runtime right so you can do whatever you like in it
16:42 ugexe ill have to try with a sub named USAGE i think. ive been putting it in `MAIN(Bool :h($help)?)`, which gives me the custom usage for -h, --help, and 0 args, but the `<path> arg1 arg2\n<path arg1 arg2` usage when i give an invalid argument
16:43 llfourn ah
17:13 domidumont joined #perl6-toolchain
17:59 FROGGS joined #perl6-toolchain
18:10 Kassandry joined #perl6-toolchain

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary