Perinci-CmdLine-Inline
view release on metacpan or search on metacpan
0.554 2022-01-16 Released-By: PERLANCAR; Urgency: medium
- [ux] Enable Log::ger::Output::Screen 0.018's colorize_tags option
in generated code.
0.553 2021-10-21 Released-By: PERLANCAR; Urgency: medium
- Re-pass standard perlcritic tests (2nd attempt).
0.552 2021-08-26 Released-By: PERLANCAR; Urgency: medium
- Switch from Text::Table::Tiny to Text::Table::Sprintf.
- Reorder generate '# AUTHORITY', et al to after strict/warnings to
pass perlcritic policy TestingAndDebugging::RequireUseStrict.
0.551 2020-05-18 Released-By: PERLANCAR; Urgency: medium
- Observe PERINCI_CMDLINE_INLINE_DEBUG_DIE.
0.550 2020-05-02 Released-By: PERLANCAR; Urgency: medium
- When outputing streaming output, don't JSON-encode simple
(defined scalar) records.
- Add Log::ger::Output::{Composite,SimpleFile} to prereq
[RT#132474].
0.549 2020-04-29 Released-By: PERLANCAR; Urgency: medium
- Tweak Rinci metadata: replace deprecated
x.schema.{,element_}entity with more specific schema.
0.548 2020-04-05 Released-By: PERLANCAR; Urgency: medium
- Support common option --page-result like in
Perinci::CmdLine::Lite.
0.547 2020-02-18 Released-By: PERLANCAR; Urgency: medium
- Add options:
code_{before_enable_logging,add_extra_log_outputs,after_enable_logging}.
- [ux] Show placeholders '### code_*' in the generated code even though
there is no corresponding code specified, just to show where the
placeholders are.
0.546 2020-02-06 Released-By: PERLANCAR; Urgency: medium
- Adjust to Perinci::CmdLine::Help 0.172 (must now pass
meta_is_normalized=1 or meta will be normalized first).
- [doc] Update comment about Storable 3.08+ now supports Regexp objecs.
0.545 2019-04-15 Released-By: PERLANCAR
- Observe argument spec property 'slurpy' in addition to 'greedy'
(Rinci 1.1.88).
0.544 2018-10-03 Released-By: PERLANCAR
- [test] Specify test dependency to JSON::PP because this core module is
require'd by the generated script [CT].
- Add core_deps to compilation result so module client can use this
information to specify dependency to required core modules.
- When output-ing to stdout, remove cmdline.skip_format result metadata
so it's easier to see raw result just by using --json.
0.543 2018-09-11 Released-By: PERLANCAR
- Add option: stripper.
- [incompatible change] Do not strip code by default, to speed up
generation (stripping involves PPI).
0.44 2017-01-11 Released-By: PERLANCAR
- Generate COMPLETION POD section.
- Tweak: put POD after subroutine declarations.
0.43 2017-01-10 Released-By: PERLANCAR
- Generate POD using Perinci::CmdLine::POD.
0.42 2017-01-09 Released-By: PERLANCAR
- Generate #PERICMD_INLINE_SCRIPT_METAS that dumps the Rinci metadata to
be read e.g. by Perinci::CmdLine::Dump. UPDATE 2017-01-12: in 0.45,
replaced by 'my %_pci_metas = ...' line which is in Perl and is also
used by the generated script.
0.41 2017-01-06 Released-By: PERLANCAR
- Support subcommands.
- Add option 'pack_deps' to make it possible to not datapack
dependencies.
- Check that args_as property in metadata is hash/hashref.
0.40 2016-12-28 Released-By: PERLANCAR
- No functional changes.
- [dist] Fix expressing follow-spec prereq relationship with x_spec.
0.39 2016-12-27 Released-By: PERLANCAR
- [dist] Move spec prereq from DevelopRecommends to
DevelopSuggests with _SPEC:: prefix.
- fmt: use Markdown autolink with pm:/prog: URLs in description so
it can be converted to POD's L<...>.
- Tweak metadata: replace x.schema.entity with schema.
0.38 2016-06-02 Released-By: PERLANCAR
[ENHANCEMENTS]
- Add argument validation.
- Add option: allow_prereq.
- [Optimization] Don't include unneeded modules and subroutines to make
resulting script smaller (e.g. no need to include Text::Table::Tiny
and Perinci::Result::Format::Lite if we don't do formatting, no need
for _pci_gen_iter() when we don't accept streaming input or lines from
stdin/file, etc).
- [Optimization] Delay loading _pci_check_args, so --help and --version
can be a bit faster.
[BUG FIXES]
- Data cleansing was stil using (unincluded) Data::Clean::JSON instead
of our own generated cleanser.
0.37 2016-03-16 Released-By: PERLANCAR
- No functional changes.
- Replace JSON with JSON::MaybeXS.
0.36 2016-02-26 Released-By: PERLANCAR
- Implement cmdline_src=stdin_or_args (untested).
0.35 2016-02-04 Released-By: PERLANCAR
- [Bugfix] When streaming input (argument) has schema=array, use its
'of' clause subschema.
- Update to Test::Perinci::CmdLine 1.38.
0.34 2016-01-21 Released-By: PERLANCAR
- Update to Test::Perinci::CmdLine 1.33.
- [Bugfix] Don't render module version during script generation,
let the generated script resolve VERSION and DATE.
0.33 2016-01-15 Released-By: PERLANCAR
- Replace Data::Dumper with Data::Dmp to avoid failure of running
the generated code dump on older perls [CT].
0.32 2016-01-14 Released-By: PERLANCAR
- Add option: use_utf8.
- Bump prereq version Log::Any::IfLOG to 0.07.
0.31 2015-11-28 Released-By: PERLANCAR
- [Bugfix] Handle function which returns naked result.
0.30 2015-11-27 Released-By: PERLANCAR
- Add support for streaming input (most of cmdline_src support are now
implemented too, except for: cmdline_src=stdin_line, the
-cmdline_src_XXX special arguments, and probably some minor quirks).
0.29 2015-11-27 Released-By: PERLANCAR
- Add support for streaming output (streaming input not yet).
0.28 2015-10-03 Released-By: PERLANCAR
- No functional changes.
- Update mentioned module App::fatten (has been renamed to
App::depak).
0.27 2015-09-30 Released-By: PERLANCAR
- Switch from JSON::Tiny to JSON::Tiny::Subclassable because the
latter's interface is more conveniently similar to JSON::{PP,XS}.
0.26 2015-09-30 Released-By: PERLANCAR
- [Bugfix] Embed a JSON encoder/decoder module (we choose JSON::Tiny)
because JSON::PP is not yet core in perl < 5.14 [CT].
0.25 2015-09-29 Released-By: PERLANCAR
- Observe result metadata attributes: cmdline.default_format,
cmdline.result, cmdline.exit_code.
- Support per_arg_json.
- Refactor (use Perinci::Result::Format::Lite instead of doing our own
thing, this reduces code duplication).
- Adjust to Test::Perinci::CmdLine 1.26.
0.24 2015-09-28 Released-By: PERLANCAR
- No functional changes.
- Adjust to Test::Perinci::CmdLine 1.24.
0.23 2015-09-23 Released-By: PERLANCAR
- [ux] Add short option -I for --include.
- Quote hash keys to avoid syntax error when arg is e.g. 'foo.bar'.
0.22 2015-09-23 Released-By: PERLANCAR
- Disallow extraneous arguments, like in pericmd-lite &
pericmd-classic.
0.21 2015-09-12 Released-By: PERLANCAR
- [Incompatible change] Rename program_* arguments to script_* to
be more consistent with App::GenPericmdScript, rename 'summary'
argument to 'script_summary'.
( run in 0.701 second using v1.01-cache-2.11-cpan-140bd7fdf52 )