-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
1525 lines (774 loc) · 39.5 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1.817 2022-10-19 Released-By: PERLANCAR; Urgency: medium
- Unbreak VERSION() by calling SUPER::VERSION() (RT#144732).
1.816 2021-08-06 Released-By: PERLANCAR; Urgency: medium
- Add missing dependency to ColorThemeRole::ANSI (GH#1).
1.815 2021-07-11 Released-By: PERLANCAR; Urgency: medium
- [ux] Provide key to common options to be able to group them in
usage line (ref: Perinci::Sub::To::CLIDocData 0.298).
1.814 2021-05-07 Released-By: PERLANCAR; Urgency: medium
- Adjust to new BorderStyle and ColorTheme specification (2.x)
(resolves RT#135341).
1.813 2019-04-15 Released-By: PERLANCAR
- Observe argument spec property 'slurpy' in addition to 'greedy'
(Rinci 1.1.88).
1.812 2018-05-20 Released-By: PERLANCAR
- Adjust to Perinci::CmdLine::Base 1.812 (add hook:
before_parse_argv). Synchronize version number with ::Base.
1.770 2017-07-31 Released-By: PERLANCAR
- [Incompatible change] Change per_arg_yaml default from 1 to 0 to
be compatible with Perinci::CmdLine::Lite.
1.76 2017-07-14 Released-By: PERLANCAR
- No functional changes since last dev release.
1.75_001 2017-07-12 Released-By: PERLANCAR
- Update to Perinci::CmdLine::Base 1.75_001 which handles logger
initialization using Log::ger::App. We remove dependency to
Log::Any::App.
- [Removed] No longer recognize log_any_app attribute or
per-subcommand default_log/log_any_app.
1.74 2017-07-10 Released-By: PERLANCAR
- No functional changes.
- Replace Log::Any with Log::ger.
1.73 2016-12-15 Released-By: PERLANCAR
- Observe default=>1 in 'dry_run' feature property in Rinci
function metadata.
1.72 2016-12-15 Released-By: PERLANCAR
- Observe default_dry_run (Perinci::CmdLine::Base 1.65).
1.71 2016-07-20 Released-By: PERLANCAR
- No functional changes.
- [dist] Bump prereq versions to force upgrade:
Perinci::CmdLine::Base to 1.56.
1.70 2016-06-12 Released-By: PERLANCAR
- No functional changes.
- [dist] Bump prereq versions to force installing of updated
Data::Sah 0.82+: Perinci::Access::Perl -> 0.87,
Perinci::Access::Schemeless -> 0.87, Perinci::Sub::Wrapper ->
0.83, Perinci::Tx::Manager -> 0.56.
1.69 2016-03-16 Released-By: PERLANCAR
- No functional changes.
- Replace JSON with JSON::MaybeXS.
1.68 2016-03-13 Released-By: PERLANCAR
- No functional changes.
- Bump prereq version Data::Unixish to 1.54 [RT#112948].
1.67 2016-02-26 Released-By: PERLANCAR
- Adjust to Perinci::CmdLine::Base 1.51 (support for
cmdline_src=stdin_or_args).
1.66 2016-02-04 Released-By: PERLANCAR
- Bump prereq version Test::Perinci::CmdLine -> 1.38.
1.65 2016-01-21 Released-By: PERLANCAR
- Bump prereq version Test::Perinci::CmdLine -> 1.33.
1.64 2016-01-20 Released-By: PERLANCAR
- No functional changes.
- Bump prereq version to force updates: Test::Perinci::CmdLine 1.32,
Perinci::Sub::Wrapper 0.80.
1.63 2016-01-19 Released-By: PERLANCAR
- No functional changes.
- Bump prereq version to force update: Log::Any::App to 0.52
[RT#110234].
1.62 2016-01-14 Released-By: PERLANCAR
- Tweak how utf8 enabling is determined.
- Bump prereq version Log::Any::IfLOG to 0.07.
1.61 2015-12-09 Released-By: PERLANCAR
- No functional changes.
- Bump prereq version Perinci::CmdLine::Base 1.33 -> 1.42.
- Bump prereq version Test::Perinci::CmdLine 1.25 -> 1.31 [CT].
1.60 2015-10-20 Released-By: PERLANCAR
- No functional changes.
- To reduce deps, make indenting of columns in --help --verbose
optional, so we don't have to deps require (only recommends) on
Data::Unixish.
1.59 2015-09-29 Released-By: PERLANCAR
- [Bugfix] Fix --naked-res.
- Adjust to Test::Perinci::CmdLine 1.25.
1.58 2015-09-18 Released-By: PERLANCAR
- Add result_naked common option like in Perinci::CmdLine::Lite.
1.57 2015-09-15 Released-By: PERLANCAR
- [ux] Prefix error message with program name.
1.56 2015-09-03 Released-By: PERLANCAR
- No functional changes.
- [dist] Move spec prereqs from RuntimeRequires to
DevelopRecommends to reduce deps but still allow indicating spec
requirement.
1.55 2015-08-18 Released-By: PERLANCAR
- No functional changes.
- Switch from Log::Any to Log::Any::IfLOG.
1.54 2015-07-15 Released-By: PERLANCAR
- Show dynamic generator modules' (x.dynamic_generator_modules)
version in --version.
1.53 2015-07-08 Released-By: PERLANCAR
- Adjust to Perinci::CmdLine::Base 1.21 (add skip_format attribute).
- Update Rinci result metadata attributes interpreted by this module:
x.perinci.cmdline._skip_format -> cmdline.skip_format.
1.52 2015-06-30 Released-By: PERLANCAR
- Adjust to Perinci::CmdLine::Base 1.17 (extra_urls_for_version).
1.51 2015-06-11 Released-By: PERLANCAR
- No functional changes.
- Use Test::Perinci::CmdLine test suite.
1.50 2015-04-11 Released-By: PERLANCAR
- Add common option: --no-env like in PC:Lite.
1.49 2015-04-09 Released-By: PERLANCAR
- [Removed feature] Remove bin/peri-func-usage because it's not
maintained and I'm not using it.
- Adjust to Perinci::CmdLine::Base 1.06 (renamed run_* methods to
action_*).
1.48 2015-03-22 Released-By: PERLANCAR
- No functional changes.
- [doc] Add more attractive Synopsis, link to tutorial blog series.
1.47 2015-03-10 Released-By: PERLANCAR
- Change result metadata 'result_format_options' ->
'cmdline.format_options'.
1.46 2015-02-26 Released-By: PERLANCAR
- [Bugfix] Pass subcommands hash to Perinci::CmdLine::Help even
though subcommands list is dynamic (coderef).
1.45 2015-02-06 Released-By: PERLANCAR
- Rename module/dist from Perinci::CmdLine to Perinci::CmdLine::Classic
to allow us to refer to it more clearly.
- Enable --json unconditionally, but remove --yaml and --perl so we are
more like ::Lite.
1.44 2015-01-11 Released-By: PERLANCAR
- No functional changes.
- Adjust to Perinci::CmdLine::Base 0.74+ (old profile syntax in IOD
section name no longer supported) [CT].
1.43 2015-01-07 Released-By: PERLANCAR
- Update old code (_err is no more) and change help hook interface
(now pass $r).
1.42 2015-01-03 Released-By: PERLANCAR
- No functional changes.
- Remove unneeded dep [RT#101270].
1.41 2014-12-19 Released-By: PERLANCAR
- No functional changes.
- Adjust to new pericmd-base (0.68, refactored common bits of default
common_opts to ::Base to reduce code duplication).
1.40 2014-12-11 Released-By: PERLANCAR
- No functional changes.
- Use new name of renamed modules: SHARYANTO::Role::ColorTheme ->
Color::Theme::Role::ANSI, SHARYANTO::Role::TermAttrs ->
Term::App::Role::Attrs.
1.39 2014-12-02 Released-By: PERLANCAR
- No functional changes.
- Switch Perinci::Sub::To::{CLIOptSpec,CLIDocData}.
1.38 2014-11-21 Released-By: PERLANCAR
- Use Perinci::Sub::To::CLIOptSpec to avoid code duplication and produce
nicer list of options for displaying in --help.
- Tweak --help output.
[REMOVED FEATURES]
- Like in Perinci::CmdLine::Lite, now only provide --no-config instead
of also --noconfig.
1.37 2014-11-09 Released-By: PERLANCAR
- [Incompatible change] Rename attribute 'log_any_app' to 'log' for
compatibility with Perinci::CmdLine::Lite, old name is still
provided for backward compatibility reason but will be removed in
the future.
- Document about x.hint.result_binary.
1.36 2014-10-24 Released-By: PERLANCAR
- Update dep version (has better binary result/arg support).
- Format binary result as-is (no newline/send to
Perinci::Result::Format) when format is text.
1.35 2014-10-24 Released-By: PERLANCAR
- Default utf8 to off if outputting binary data.
- Add attribute: riap_version (and bump Riap client deps with
versions which already support riap_version).
- Typo: unimplemented status is 501, not 502.
1.34 2014-10-14 Released-By: PERLANCAR
- No functional changes.
- Include more screenshots.
1.33 2014-10-14 Released-By: PERLANCAR
- No functional changes.
- Include screenshots.
1.32 2014-10-03 Released-By: PERLANCAR
- Avoid error when completing (no use_utf8 method).
1.31 2014-09-16 Released-By: PERLANCAR
- No functional changes.
- Move page/stream output functionality to Perinci::CmdLine::Base.
1.30 2014-09-11 Released-By: PERLANCAR
- Add support for cmdline_src=stdin_line and is_password (Rinci
1.1.53).
1.29 2014-09-05 Released-By: PERLANCAR
- [Bugfix] Forgot another json decode which should've been encode.
1.28 2014-09-04 Released-By: PERLANCAR
- [Bugfix] Fix bug in displaying 'in' schema property in help.
1.27 2014-09-04 Released-By: PERLANCAR
- [Bugfix] Fix bugs that caused App::riap to die.
1.26 2014-09-03 Released-By: PERLANCAR
- No functional changes.
- Update to Perinci::CmdLine::Base 0.26.
1.25 2014-09-02 Released-By: SHARYANTO
- [Bugfix] Help on subcommand produced main help (some old code has not
been adjusted).
1.24 2014-08-27 Released-By: SHARYANTO
- No functional changes.
- [Internal] Move cmdline_src handling functionality to
Perinci::CmdLine::Base.
1.23 2014-08-26 Released-By: SHARYANTO
- No functional changes.
- Use Perinci::CmdLine::Base 0.22 (change of configuration profile
syntax).
1.22 2014-08-26 Released-By: SHARYANTO
- No functional changes.
- Update translations (id, fr).
- Fix tests so non-English locale can pass too [CT].
1.21 2014-08-25 Released-By: SHARYANTO
[ENHANCEMENTS]
- 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.
1.11 2014-06-20 Released-By: SHARYANTO
[ENHANCEMENTS]
- Adjust to Perinci::Sub::Complete 0.40 (no longer need to do
'complete_arg_val' Riap request on our own).
- Add --pass-cmdline-object to peri-run.
[BUG FIXES]
- A couple of bug fixes.
1.10 2014-05-17 Released-By: SHARYANTO
- [ux] Default to 80 (and not wider) column width when displaying
--help --verbose, unless user sets COLUMNS.
- Replace File::Slurp with File::Slurp::Tiny.
1.09 2014-04-30 Released-By: SHARYANTO
- No functional changes.
- Adjust to Perinci::Access::Perl 0.66 (no longer has
'extra_wrapper_args').
1.08 2014-04-16 Released-By: SHARYANTO
- Show release date in --version.
1.07 2014-04-16 Released-By: SHARYANTO
- Send argv to server when parsing argv on the client side returns 501
(see Perinci::Sub::GetArgs::Argv for more details on this error).
This feature currently does not work with transaction and dry-run.
Also, the server side must have a recent Perinci::Access::Perl (0.64)
which supports accepting 'argv' request key for its 'call' action.
1.06 2014-04-04 Released-By: SHARYANTO
[INCOMPATIBLE CHANGES]
- [refactor/internal] Rename action 'subcommand' to 'call' because it's
less confusing and more appropriate. Since --action is
underdocumented, this should break very few users.
1.05 2014-04-02 Released-By: SHARYANTO
- Consult Perinci::Sub::Property::* on unknown properties when
generating help. This allows displaying help for result/table or
result/object Rinci function metadata property. See corresponding
Perinci::Sub::Property::result::{table,object} module for more
details.
1.04 2014-04-01 Released-By: SHARYANTO
- Add common options: --json, --yaml, --perl. But only when user says
'use Perinci::CmdLine 1.04'.
1.03 2014-03-29 Released-By: SHARYANTO
- Bugfix: Don't print 'missing foo arg' when on --help, --history, etc.
1.02 2014-02-26 Released-By: SHARYANTO
- No functional changes.
- Adjust to Progress::Any 0.13 and
Progress::Any::Output::TermProgressBarColor 0.08.
1.01 2014-01-21 Released-By: SHARYANTO
[BUG FIXES]
- A couple of fixes in parsing cmdline options for argument with
cmdline_src 'stdin_or_files': avoid printing 'missing arg X' when
getting argument value from STDIN, and parse '--arg F1' properly (it
used to get from STDIN instead of F1).
1.00 2013-12-18 Released-By: SHARYANTO
- No, there's nothing special about the version number.
- Skip setlocale() at the start of program, as Locale::TextDomain
(Locale::Messages) already reads from LANG/LANGUAGE. Programs
requiring setlocale() can do it themselves.
0.99 2013-12-13 Released-By: SHARYANTO
- No functional changes. Mark more strings as translateable using
Locale::TextDomain.
0.98 2013-12-13 Released-By: SHARYANTO
- No functional changes. Use Locale::TextDomain::UTF8.
0.97 2013-12-13 Released-By: SHARYANTO
- No functional changes. Switch from Locale::Maketext to
Locale::TextDomain.
0.96 2013-11-26 Released-By: SHARYANTO
- Slightly reduce completion overhead.
- Bugfix: Skip non-shell src examples.
0.95 2013-11-08 Released-By: SHARYANTO
[ENHANCEMENTS]
- Fix behavior of 'cmdline_src': now supports 'file' (Rinci 1.1.41),
'stdin_or_files' now correctly reads from files specified in cmdline
argument, now supports giving lines to function argument of type
'array'.
0.94 2013-10-04 Released-By: SHARYANTO
[ENHANCEMENTS]
- Display src examples (Rinci 1.1.39).
[ETC]
- Adjust to Perinci::Access::Perl 0.53+ (remove disk caching options).
- Adjust to Perinci::Sub::Complete (replaces Perinci::BashComplete).
0.93 2013-10-04 Released-By: SHARYANTO
- No functional changes. Force version of SHARYANTO::Role::ColorTheme
so color_theme_class_prefix can be overriden by subclasses.
0.92 2013-10-03 Released-By: SHARYANTO
[INCOMPATIBLE CHANGES]
- Change common option: --list (-l) to --subcommands to make it more
obvious.
[ENHANCEMENTS]
- Reduce startup overhead by caching wrapping result
(Perinci::Access::Perl 0.50 supports disk_cache option).
- More tweaks on --help (as well as --subcommands output).
- Observe PERINCI_CMDLINE_COLOR_THEME.
- Colorize error messages, help, and --subcommands output.
[DOCUMENTATION]
- Document how utf8 output and logging output is turned on/off.
- Add French translation. More translations welcome.
- Show list of (popular) subcommands in help message.
0.91 2013-10-02 Released-By: SHARYANTO
- This release focuses on making help message prettier: colors,
sorting, some tweaks/fixes. Details below. Formatting is now done
using Text::ANSITable. Producing help now causes a slight noticeable
delay (like 0.3-0.4s) on my PC/laptop, but since it is not annoying
enough or invoked frequently enough on a daily basis, it'll do for
now.
[ENHANCEMENTS]
- Generate colored help message, yay.
- Provide two versions of help: compact and verbose (--help --verbose).
The purpose of compact help is to be short and rarely exceed one
screen: it only displays usage, examples, and list of options (no
documentation on each option). The normal help is now the verbose
help.
- Show examples in help message.
- Show function description in verbose help message.
- Don't show 'name - summary' line in help message if summary is not
specified.
- To save a bit of screen space, don't list --help and --version in
compact help message, since they are already obvious from the usage
section.
- Observe 'x.perinci.cmdline.negative_summary' Rinci metadata
attribute. If there is a bool option with default=1 (e.g. --public,
with summary 'Only show public items') the help message now displays
'--nopublic' since --public is implicit. The summary should
accordingly be the negative summary (e.g. 'Only show private items').
This can now be put in said attribute. It can also be localized (e.g.
'x.perinci.cmdline.negative_summary.alt.lang.id_ID').
- Add examples/demo-help which contains various options to show how
--help and '--help --verbose' would display it.
- For "simple" actions like 'help', 'list', 'version', logging is
turned off by default to reduce startup overhead. However, you can
still turn on logging via LOG=1.
0.90 2013-09-23 Released-By: SHARYANTO
- Add 'args' subcommand specification to prefill function arguments
when calling (useful for function that serves multiple subcommands).
- Show positional arguments in usage message.
0.89 2013-09-20 Released-By: SHARYANTO
- No functional changes. Force upgrade of deps to show previous error
(Rinci 1.1.38).
0.88 2013-09-11 Released-By: SHARYANTO
- No functional changes. Demote Perinci::Tx::Manager from
RuntimeRequires to RuntimeRecommends because not all applications use
it and it currently does not install on Windows (some deps like
File::Lock, which deps on Data::Structure::Util, does not build).
- Now builds on Windows, yay.
0.87 2013-09-08 Released-By: SHARYANTO
[REMOVED FEATURES]
- Remove 'dash_to_underscore' option because it is currently rather
confusing. If you specify subcommands using underscores, -l will list
the underscored version but tab completion is using the dashed
version. To simplify stuffs, now no transformation is done.
[BUG FIXES]
- Forgot to pass 'pa' argument to Perinci::BashComplete function.
0.86 2013-09-08 Released-By: SHARYANTO
- Update to Rinci 1.1.36 (entity_version -> entity_v).
- Replace Perinci::Access::InProcess with ::Perl and ::Schemeless.
0.85 2013-08-15 Released-By: SHARYANTO
[BUG FIXES]
- No functional changes. Add missing dependencies to Perinci::To::Text
[CT].
0.84 2013-08-11 Released-By: SHARYANTO
[BUG FIXES]
- Forgot to update method name which caused '--help' and the
peri-func-usage to not work properly.
0.83 2013-07-26 Released-By: SHARYANTO
- No functional changes. Adjust to new SHARYANTO::Role::Doc::Section
0.53.
0.82 2013-07-26 Released-By: SHARYANTO
[ENHANCEMENTS]
- Allow disabling paging, when cmdline.page_result result metadata is
active, using PAGER=0.
- Column width now observes the COLUMNS environment.
- Add command line script: peri-func-usage to display usage text for
any Riap function.
0.81 2013-07-26 Released-By: SHARYANTO
- Change options display in usage text to be more compact (remove blank
line after --foo line, but indent the options summary/description
text more deeply).
- Add FAQ item about modifying the common options.
- Mark dev version as 'dev' in --help.
0.80 2013-07-06 Released-By: SHARYANTO
- Add 'use experimental "smartmatch"' for 5.18+.
- Handle error when COLOR=0.
0.79 2013-05-18 Released-By: SHARYANTO
- Use Progress::Any::Output::TermProgressBarColor to replace
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