head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.14 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.12 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.10 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.8 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.6 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.4 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.2 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.3.0.6 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.4 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.2 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.2.0.4 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.2 pkgsrc-2023Q2-base:1.2; locks; strict; comment @# @; 1.5 date 2024.09.08.08.12.09; author wiz; state Exp; branches; next 1.4; commitid P2loOcpXJPYCGYoF; 1.4 date 2024.08.25.06.27.50; author wiz; state Exp; branches; next 1.3; commitid NGsLIILnhk2JyanF; 1.3 date 2023.12.16.09.20.04; author mef; state Exp; branches; next 1.2; commitid 2DMNnxifqpWXDFQE; 1.2 date 2023.05.20.06.22.59; author wiz; state Exp; branches; next 1.1; commitid ZddsQjdX6SzKpFpE; 1.1 date 2023.03.30.18.04.35; author wiz; state Exp; branches; next ; commitid AaKKBSayc6c9WajE; desc @@ 1.5 log @p5-Commandable: update to 0.14. 0.14 2024-09-07 [CHANGES] * Support discovering global options as attributes on package scalar variables in the SubAttributes finder 0.13 2024-09-01 [CHANGES] * Added `->add_global_options` method to support global options * Support `=u` (unsigned) and `=f` (float) option types as well as arbitrary regexp match validation [BUGFIXES] * Ensure that hyphens are converted to underscores when setting default values for options * Ensure that mode=bool options always have a defined value, even if false @ text @$NetBSD: distinfo,v 1.4 2024/08/25 06:27:50 wiz Exp $ BLAKE2s (Commandable-0.14.tar.gz) = 613af897fcb45943f27ffdc1eeb0a71cb6dd255a3717f818536ba598bf09422b SHA512 (Commandable-0.14.tar.gz) = 595fc154fd000029028b2a6d4a68622d07a58d2cb67ab76ac2c5672b36f52d98d6017967463cf0f64d757b70be3da047f0f61f2c33b6398c40af9ad964e46c4c Size (Commandable-0.14.tar.gz) = 36697 bytes @ 1.4 log @p5-Commandable: update to 0.12. 0.12 2024-08-21 [CHANGES] * Moved `->parse_invocation` out of Command into Finder * Optional additional help text generated by the package that implements a given command * Use `meta` instead of `no strict refs` hackery * Avoid Test::NoWarnings @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2023/12/16 09:20:04 mef Exp $ d3 3 a5 3 BLAKE2s (Commandable-0.12.tar.gz) = 54174b133be483a49c12c3ff03990540bc6d3c7b1562409bc7c0d2a10e1138fe SHA512 (Commandable-0.12.tar.gz) = 980d7e1c80982b33852099814eb7d1ac06621edaf06638b88b5148d1b72164e078e9a9169217de84b8ef79905fb6c59e90614b7b5bd330e291d9de14c1e1cf60 Size (Commandable-0.12.tar.gz) = 33074 bytes @ 1.3 log @(devel/p5-Commandable) Updated 0.10 to 0.11 0.11 2023-06-08 [CHANGES] * Added `$finder->find_and_invoke_list` convenience * Print information about `[no-]` prefix for negatable options in `help` output * Optionally require that options all come before non-option arguments * Optionally allow bundling of single-letter boolean options * Convert hyphens in option names to underscores when inserting their value into the options hash * Support integer-type checking in options * Added various docs [BUGFIXES] * Ensure that `$cinv->putback_tokens` escapes quotes @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2023/05/20 06:22:59 wiz Exp $ d3 3 a5 3 BLAKE2s (Commandable-0.11.tar.gz) = ecfa4d424a78402d52549e8a89e8def883f91f14b82aad231c9ef361694c4e9e SHA512 (Commandable-0.11.tar.gz) = cc73431bc58f0c0adc957532c331d34bf9da741e0c290855fe946219dad44bd55f2d9ba018b3d61f35ad43b87012906b0702ab5a0cc1c86cee266f0a276bab7d Size (Commandable-0.11.tar.gz) = 32009 bytes @ 1.2 log @p5-Commandable: update to 0.10. 0.10 2023-04-29 [CHANGES] * Add more types of option - negatable, incrementable, multi-value (much thanks to ilmari) * Use trailing `=` to indicate option names with values; to match Getopt::Long * Swap all unit tests from `Test::More` to `Test2::V0` @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2023/03/30 18:04:35 wiz Exp $ d3 3 a5 3 BLAKE2s (Commandable-0.10.tar.gz) = 9f914aef4c8e5310758b40e825d8bc7941e14d852f61b06b8cca213aa7dc0844 SHA512 (Commandable-0.10.tar.gz) = 68673d78da412d5b1ccb44e167852157e76fa6dc2b2b552a63369e10ba7ff6fc500b861e6043aa7812aef8d12e11a8ae12924e0f726b2b64280ede38e77e4323 Size (Commandable-0.10.tar.gz) = 28174 bytes @ 1.1 log @devel/p5-Commandable: import p5-Commandable-0.09 This distribution contains a collection of utilities extracted from various commandline-based programs, in the hope of trying to find a standard base to build these from in future. Note that "commandline" does not necessarily mean "plain-text running in a terminal"; simply that the mode of operation is that the user types a textual representation of some action, and the program parses this text in order to perform it. This could equally apply to a command input text area in a GUI program. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2023/03/30 17:59:21 wiz Exp $ d3 3 a5 3 BLAKE2s (Commandable-0.09.tar.gz) = 8700648158b5f412d695292715174967a809fd2683d4319eef56651e398e21c1 SHA512 (Commandable-0.09.tar.gz) = 1bd74ae2de32e772f73d1883543309d3d3150b0aa214a4651758fe4c485c82c775292ba63f1e91841d9a0681d65a55a0fc0f8bf0e52dc4ce769105141fa2c9e5 Size (Commandable-0.09.tar.gz) = 26990 bytes @