Thu Aug 21 15:23:34 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.3]:
* VERSION: bump
* src/main/perl/lib/CLI/Simple/README.md: generated
* src/main/perl/lib/t/06-cli-simple-default.t.in: new
* src/main/perl/lib/Makefile.am: add above to build
* src/main/perl/lib/CLI/Simple.pm.in
- pod updates
(new)
- if only one command make the command name optional
- check ref $help
- pod2usage, not return pod2usage
(run): default command gets set earlier now
* src/main/perl/t/01-cli-simple.t.in
- fix test for bad command, single command does not require command
Thu Aug 21 12:45:30 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.2]:
* .gitignore: +cli-simple-example, create-modulino
* VERSION: bump
* test-requires: Test::Exit, Test::Output
* cpan/buildspec.yml
- + LICENSE, README, move examples to share/
* includes/bash-bin.inc: + cli-simple-example.sh.in
* src/examples/MyScript.pm
- more example usage
* src/main/perl/bin/Makefile.am
- add create_modulino, but make sure .pl does not get in distribution
* src/main/perl/bin/create-modulino.pl.in: /usr/bin/env perl
* src/main/perl/lib/CLI/Simple.pm.in
- $USE_LOGGER to avoid redefinition of _use_logger
- pod updates
(_use_logger): use above
(use_log4perl)
- allow log_level or level
- remove _use_logger creation
(new)
- + alias option
- don't require option_specs
- process option and command aliases
- use _leave, not exit
(_leave): new
(init_logger): get root logger
(get_args): allow skipping args
(usage)
- don't exit, use _leave()
- noperldoc
(example): new
(validate_command): refactored
* src/main/perl/lib/CLI/Simple/README.md: generated
* src/main/perl/lib/CLI/Simple/Utils.pm.in
(dmp): new
(args): new
* src/main/perl/lib/Makefile.am: add new tests
* src/main/perl/lib/t/01-cli-simple.t.in
- added more tests for alias
* src/main/perl/lib/t/04-cli-simple-help.t.in
* README: new
* src/main/bash/bin/cli-simple-example.sh.in: new
* src/main/perl/lib/t/01-cli-simple.t.in: new
* src/main/perl/lib/t/02-cli-simple-logging.t.in: new
* src/main/perl/lib/t/03-cli-simple-types.t.in: new
* src/main/perl/lib/t/04-cli-simple-help.t.in: new
* src/main/perl/lib/t/05-cli-simple-args.t.in: new
Fri Aug 8 08:15:06 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.1]:
* VERSION:bump
* .gitignore: cpan/*.tmp
* requires: new
* test-requires: new
* src/main/perl/lib/CLI/Simple.pm.in
- package variables GETOPT_EXIT_ON_ERROR, GETOPT_STATUS, GETOPT_ERROR_MESSAGE
- + abbreviations, error_handler
(new)
- trap GetOptions error
- allow any word character in options
- support array ref command spec
- validate command (use abbreviations)
(init_logger)
- support command specific log levels
(validate_command): new
(run)
- don't set log level here, set in init_logger
* src/main/perl/lib/CLI/Simple/Constants.pm.in
- pod updates
* src/main/perl/lib/CLI/Simple/Constants/README.md
* src/main/perl/lib/CLI/Simple/README.md
Fri Aug 1 13:23:16 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.0]:
* version.mk: new
* Makefile.am: add above
* VERSION: bump major
* src/main/perl/lib/CLI/Simple.pm.in
(program): new
(commands): new
(run)
- support custom per command log levels
- refactoring
(init_logger): likewise
(use_log4perl)
- _get_log4perlconf -> get_log4perl_conf
- _get_log4perl_level -> get_lgo4perl_level
- + set_log4_perl()
* src/main/perl/lib/CLI/Simple/README.md: generated
Tue Feb 25 10:00:08 2025 Rob Lauer <rlauer6@comcast.net>
[0.0.9]:
* VERSION: bump
* src/main/perl/lib/CLI/Simple.pm.in
- pod tweaks
(new)
- allow for custom help() method
(command): new
(run): remove help invocation as it now happens in new()
* src/main/perl/lib/CLI/Simple/README.md: generated
Sat Feb 15 09:25:47 2025 Rob Lauer <rlauer6@comcast.net>
[0.0.8]:
* VERSION: bump
* cpan/buildspec.yml
(extra-files): examples
* src/main/bash/bin/modulino.sh.in
- help
- use command, not which
* src/main/perl/lib/CLI/Simple.pm.in
- minor formatting tweaks
- documenation, pod updates
(new): invoke help before init
* src/main/perl/lib/CLI/Simple/README.md: generated
Sat Jun 22 10:52:48 2024 Rob Lauer <rlauer6@comcast.net>
[0.0.7]:
* VERSION: bump
* src/main/perl/lib/CLI/Simple.pm.in: pod fixes
* src/main/perl/lib/CLI/Simple/README.md: generated
Wed May 22 07:37:11 2024 Rob Lauer <rlauer6@comcast.net>
[0.0.6]:
* VERSION: bump
* requires: List::Util 1.56
* autotools/ax_requirements_check.m4: likewise
Tue May 21 16:43:42 2024 Rob Lauer <rlauer6@comcast.net>
[0.0.5]:
* VERSION: bump
* src/main/perl/bin/create-modulino.pl.in
- use GetOptions to pass options
- use INSTALLSITESCRIPT, DESTDIR to install modulino
Tue May 21 09:33:40 2024 Rob Lauer <rlauer6@comcast.net>
[0.0.4]:
* VERSION: bump
* src/main/perl/bin/create-modulino.pl.in: new
* cpan/buildspec.yml: add above to build
* src/main/includes/perl-bin.inc: likewise, +x
* src/main/bash/bin/modulino.sh.in
- use realpath/readlink to allow alias names
* src/main/perl/lib/CLI/Simple.pm.in
- use JSON, not JSON::PP
- pod fixes, better explanation of modulinos
* src/main/perl/lib/CLI/Simple/Utils.pm.in
- use JSON, not JSON::PP
* autotools/ax_requirements_check.m4: update requirements
* cpan/requires: likewise
* requires.txt: likewise
Sun Dec 10 16:46:14 2023 Rob Lauer <rlauer6@comcast.net>
[0.0.3]:
* VERSION: bump
* src/main/oerl/lib/CLI/Simple.pm.in
- pod tweaks
* src/main/bash/bin/modulino.sh.in
- use -, not _ for separator
- use perl, not tr
Sat Nov 18 08:26:26 2023 Rob Lauer <rlauer6@comcast.net>
[dependencies]:
* VERSION: bump
* autotools/ax_requirements_check.m4: update dependencies
* requires.json: likewise
* requires.txt: likewise
* cpan/requires: likewise
* cpan/buildspec.yml: typo in web address
* configure.ac: add perlcritic config to configure output
* manifest.yaml: removed
* src/main/perl/lib/CLI/Simple/Utils.pm.in: @PACKAGE_VERSION@
Thu Nov 16 17:14:27 2023 Rob Lauer <rlauer6@comcast.net>
[modulino]:
* .gitignore: add modulino
* cpan/buildspec.yml
- add src/examples
- add modulino script
* src/examples/MyScript.pm: renamed from myscript.pm
* includes/bash-bin.inc: add modulino.sh.in
* src/main/bash/bin/Makefile.am: likewise
* src/main/perl/lib/Makefile.am: build .t files
* src/main/perl/lib/CLI/Simple/README.md: generated
* src/main/perl/lib/CLI/Simple.pm.in
- pod tweaks
(get_args): return all args if empty list of var names
Thu Nov 16 15:18:56 2023 Rob Lauer <rlauer6@comcast.net>
[pod tweaks]:
* src/main/perl/lib/CLI/Simple.pm.in
- pod tweaks
(new): accept hash or hash ref
Thu Nov 16 13:36:17 2023 Rob Lauer <rlauer6@comcast.net>
[make check]:
* includes/perlcritic.inc: add pbp to theme
* .gitignore: + generatedd files cpan/, t/
* Makefile.am: remove README.md from build
* README.md: symlink to module README.md
* cpan/Makefile.am: rm directory if created
* src/main/perl/lib/CLI/Simple.pm.in: pod tweaks
* src/main/perl/lib/Makefile.am: build .t files from .t.in
* src/main/perl/lib/README.md: generated
* src/main/perl/lib/CLI/Simple/README.md: likewise
Thu Nov 16 07:53:09 2023 Rob Lauer <rlauer6@comcast.net>
[docs/wip]:
* README.md: generated
* src/main/perl/lib/CLI/Simple.pm.in
* src/main/perl/lib/CLI/Simple/README.md
Wed Nov 15 16:25:19 2023 Rob Lauer <rlauer6@comcast.net>
[docs]:
* Makefile.am: make docs
* README.md: generated
* src/main/perl/lib/CLI/Simple/README.md: likewise
* src/main/perl/lib/CLI/Simple.pm.in: pod tweaks
Wed Nov 15 15:51:35 2023 Rob Lauer <rlauer6@comcast.net>
[BigBang]:
* .gitignore: add .3man
* README.md: new
* includes/perl-modules.inc: dependencies
* src/examples/myscript.pm: new
* src/main/perl/lib/CLI/Simple.pm.in
- replace template with actual file
* src/main/perl/lib/CLI/Simple/Constants.pm.in: likewise
* src/main/perl/lib/CLI/Simple/Utils.pm.in: likewise
* src/main/perl/lib/CLI/Simple/Constants/README.md: new
* src/main/perl/lib/CLI/Simple/README.md: new
* src/main/perl/lib/CLI/Simple/Utils/README.md: new
* src/main/perl/lib/README.md: new
Wed Nov 15 08:15:23 2023 <rlauer6@comcast.net>
[BigBang]:
* VERSION: new
* .autoconf-template-perlrc: new
* .gitignore: new
* bootstrap: new
* ChangeLog: new
* configure.ac: new
* COPYING: new
* COPYRIGHT: new
* Makefile.am: new
* manifest.yaml: new
* perl-CLI-Simple.spec.in: new
* perlcriticrc: new
* perltidyrc: new
* README.md: new
* requires.json: new
* requires.txt: new
* autotools/ads_PERL_INCLUDES.m4: new
* autotools/ads_PERL_MODULE.m4: new
* autotools/ads_PROG_PERL.m4: new
* autotools/am_build_mode.m4: new
* autotools/am_perlcritic_mode.m4: new
* autotools/apache_config.m4: new
* autotools/ax-extra-opts.m4: new
* autotools/ax_am_conditional_example.m4: new
* autotools/ax_deps_check.m4: new
* autotools/ax_distcheck_hack.m4: new
* autotools/ax_perlcritic_config.m4: new
* autotools/ax_requirements_check.m4: new
* autotools/prove.sh.in: new
* autotools/test-driver: new
* config/Makefile.am: new
* cpan/Makefile.am: new
* cpan/requries: new
* cpan/test-requires: new
* cpan/buildspec.yml
* includes/apache-directories.inc: new
* includes/bash-bin.inc: new
* includes/directories.inc: new
* includes/perl-bin.inc: new
* includes/perl-cgi-bin.inc: new
* includes/perl-modules.inc: new
* includes/perlcritic.inc: new
* install-from-cpan.in: new
* resources/Makefile.am: new
* src/main/bash/bin/Makefile.am: new
* src/main/bash/Makefile.am: new
* src/main/Makefile.am: new
* src/main/perl/bin/Makefile.am: new
* src/main/perl/lib/CLI/Simple.pm.in: new
* src/main/perl/lib/CLI/Simple/Constants.pm.in: new
* src/main/perl/lib/CLI/Simple/Utils.pm.in: new
* src/main/perl/lib/Makefile.am: new
* src/main/perl/lib/t/00-cli-simple-constants.t: new
* src/main/perl/lib/t/00-cli-simple-utils.t: new
* src/main/perl/lib/t/00-cli-simple.t: new
* src/main/perl/Makefile.am: new
* src/Makefile.am: new