/
Changes
179 lines (80 loc) · 3.11 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
Revision history for Sub::Spec::CmdLine
0.26 2011-03-04
Require Sub::Spec::Runner 0.09.
0.25 2011-02-28
On non-success response from sub, print output (error message) even if
spec enables cmdline_suppress_output.
0.24 2011-02-28
Now based on Sub::Spec::Runner for dependency checking before run.
0.23 2011-02-23
Fix dependency (Sub::Spec version).
Don't add error message when Getopt::Long already prints to stderr.
0.22 2011-02-22
Use Sub::Spec::Utils.
0.21 2011-02-21
Add some more documentation.
Requires recent versions of Test::More & Sub::Spec::BashComplete.
0.20 2011-02-18
Escape completion output since BashComplete now doesn't.
Added some doc.
0.19 2011-02-18
Provide runpm script.
0.18 2011-02-18
run(): More fixes for completion.
spec: cmdline_aliases is renamed to arg_aliases.
Fix test [CT].
0.17 2011-02-17
run(): Fixed stupid parenthesis bug.
0.16 2011-02-17
run(): A couple more fixes for bash completion.
parse_argv(): Also add --nofoo for bool cmdline_aliases.
0.15 2011-02-17
Yet more fixes for bash completion.
Fixed: parse_argv(): do not convert all remaining $argv to YAML so they
can be reused (e.g. parse_argv'd) again
run(): add option 'custom_completer' to pass to
Sub::Spec::BashComplete.
0.14 2011-02-17
Fixes for bash completion.
0.13 2011-02-17
[INCOMPATIBLE CHANGES]
run(): rename 'require' argument to 'load'.
[IMPROVEMENTS]
parse_argv(): Respect arg spec: 'cmdline_aliases' for specifying
option aliases.
run(): Allow 'subcommands' argument to be coderef.
run(): Pass more info (arguments) to coderef 'help' argument.
run(): Add option 'allow_unknown_args' for non-strict argv parsing.
gen_usage(): Add option: 'options_name'.
0.12 2011-02-16
Fixes for bash completion.
Add arguments to run(): help, spec, run, per-subcommand category.
Other bug fixes.
0.11 2011-02-16
Add support for bash completion (requires Sub::Spec::BashComplete).
0.10 2011-02-16
Add strict=>0 option in parse_argv(), for use by
Sub::Spec::BashComplete.
Some small refactoring.
0.09 2011-02-15
Add --version.
0.08 2011-02-15
Fixes for subcommands support.
Respect spec clause: cmdline_suppress_output.
0.07 2011-02-11
Formatting fix: missing newline in error message.
0.06 2011-02-11
Add 'cmd' option to gen_usage().
Formatting tweaks.
0.05 2011-02-11
Remove 'required_args'.
0.04 2011-02-10
Formatting fixes.
0.03 2011-02-10
Formatting tweaks.
Fix schema clause ('in', not 'choices').
0.02 2011-02-09
Incompatible change: rename arg_order to arg_pos.
Documentation.
0.01 2011-02-09
First release.