Perinci-CmdLine-Classic

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

         - Add support for reading configuration file.


1.20     2014-08-24  Released-By: SHARYANTO

         - [Bug fix] Edit to make tx-related actions (--undo, --redo, --history,
           etc) work.


1.19     2014-08-23  Released-By: SHARYANTO

         [INCOMPATIBLE CHANGES]

         - Replace result metadata cmdline.display_result with cmdline.result.

         [ENHANCEMENTS]

         - Add result metadata cmdline.skip_format.


1.18     2014-08-22  Released-By: SHARYANTO

         - [Bugfix] Try to init attributes in BUILD again (previously this is
           moved to hook_before_run because of some weirdness that makes
           accessing attribute from role not work in inner block of BUILD).


1.17     2014-08-22  Released-By: SHARYANTO

         [REMOVED FEATURES]

         - Remove scripts strip-result-env-* (users can use 'jq' or other tools
           to do this).

         - Move script peri-run to Perinci-CmdLine-Any.

         - Remove --action (see note in the Incompatible Changes section about
           the change in the way command-line options are parsed).

         - Move examples/ to Perinci-CmdLine-Examples, to help reduce
           dependencies.

         [INCOMPATIBLE CHANGES]

         - To reduce confusion and make things simpler, change the way
           command-line options are parsed. Argument options which happen to
           clash with common options (e.g. --help, --version) are now renamed to
           --help-arg (or --help-arg2 and so on) so no options clash with each
           other. Thus, --action is no longer needed.

         [INTERNAL]

         - Refactoring: split some functionality to Perinci::CmdLine::Base (in
           separate dist) for creating Perinci::CmdLine::Lite, a lightweight
           alternative that doesn't use Moo, Perinci::Access, nor
           Perinci::Result::Format. There are now Perinci-CmdLine and
           Perinci-CmdLine-Lite distributions.

         - Refactoring: run() and run_*() now returns enveloped response instead
           of int. All output is now returned as string by run_*() instead of
           printed directly (except for streaming output).

         - Refactoring: No long uses internal attributes like
           $self->{_subcommand}. Instead, now a per-request (per-run())
           stash/hash $r is passed around. This is not unlike the technique used
           in Apache handlers and Data::Sah. It's cleaner because the
           per-request state is isolated from the object itself.

         - Refactoring: help-generating methods now separated into a separate
           role (Perinci::CmdLine::Role::Help), just to be more organized.

         [DOCUMENTATION]

         - Split some documentation (FAQ) from Perinci::CmdLine to
           Perinci::CmdLine::Manual and split to Perinci-CmdLine-Base so it can
           be installed without requiring too many dependencies.

         - Write examples Perinci::CmdLine::Manual::Examples.


1.16     2014-07-03  Released-By: SHARYANTO

         [REMOVED FEATURES]

         - Split Perinci::CmdLine::Easy to its own dist.

         [ENHANCEMENTS]

         - Tidy up run() so it can safely be called multiple times.

         - Support for Perinci::CmdLine::Server.


1.15     2014-07-02  Released-By: SHARYANTO

         - No functional changes.

         - Adjust to Perinci::Sub::Complete 0.53.


1.14     2014-07-02  Released-By: SHARYANTO

         - No functional changes.

         - Adjust to Complete::Util 0.12.


1.13     2014-06-29  Released-By: SHARYANTO

         - No functional changes.

         - Increase prereq version: Perinci::Sub::Complete 0.50, to allow
           completion routines to return hashref as well as arrayref.


1.12     2014-06-29  Released-By: SHARYANTO

         - No functional changes.

         - Adjust to new completion modules.

Changes  view on Meta::CPAN

           Progress::Any::Output::TermProgress.


0.78     2013-05-10  Released-By: SHARYANTO

         - Text in common_opt (category, usage, summary) is now not required to
           be translateable.

         - Update 'id' translation.


0.77     2013-05-10  Released-By: SHARYANTO

         [BUG FIXES]

         - Setting --format-options didn't work.


0.76     2013-05-10  Released-By: SHARYANTO

         [ENHANCEMENTS]

         - Common options are now modularized instead of hardcoded. You can now
           delete/rename/add common options like --help, --version, etc. See
           documentation for the 'common_opts' attribute.

         [REMOVED FEATURES]

         - Remove 'extra_opts' attribute because they are now supported via
           'common_opts'.


0.75     2013-05-04  Released-By: SHARYANTO

         - Observe PROGRESS environment (can be set to 0 to disable progress
           display).

         - binmode(STDOUT, ":utf8") (TODO: option to opt out from this).


0.74     2013-04-16  Released-By: SHARYANTO

         - No functional changes. Avoid perl undef warning.


0.73     2013-04-15  Released-By: SHARYANTO

         - Provide format_row().


0.72     2013-04-14  Released-By: SHARYANTO

         [INCOMPATIBLE CHANGES]

         - format_and_display_result() is split to format_result() and
           display_result() (should not be a problem because it's not yet
           documented).

         [ENHANCEMENTS]

         - Support streaming output (function needs to set result metadata
           is_stream => 1 and result needs to be glob/IO::Handle/array/tied
           array, format needs to be text).

         - Observe 'x.perinci.cmdline.default_format' metadata attribute.


0.71     2013-04-05  Released-By: SHARYANTO

         - No functional changes. Workaround problem which causes non-pretty
           text tables to be displayed by default.


0.70     2013-04-05  Released-By: SHARYANTO

         - Add no_getopt_compat Getopt::Long::Configure to disregard "+" as
           option starter.


0.69     2013-03-15  Released-By: SHARYANTO

         - Add 'pa_args' attribute to pass to Perinci::Access (and in turn to
           Perinci::Access::HTTP::Client), e.g. HTTP basic auth information.

         - Several small tweaks.


0.68     2013-01-09  Released-By: SHARYANTO

         - Add workaround for formatter that modifies STDOUT's binmode setting.


0.67     2012-10-29  Released-By: SHARYANTO

         - No functional changes. Fix dependencies.


0.66     2012-10-24  Released-By: SHARYANTO

         - Display progress indicator for function which uses it (see
           Perinci::Access::InProcess 0.36+). For an example of this, see
           Git::Bunch 0.24, function sync_bunch().

         - Show Perinci::CmdLine's version in --version.


0.65     2012-09-06  Released-By: SHARYANTO

         - Remove example script bin/symlink-u due to circular dependency
           [RT#79482].


0.64     2012-09-04  Released-By: SHARYANTO

         - Automatically set verbose when --dry-run.


0.63     2012-08-29  Released-By: SHARYANTO

         - Allow transactional function to be passed --dry-run.



( run in 1.136 second using v1.01-cache-2.11-cpan-140bd7fdf52 )