1 | # Changelog
|
---|
2 |
|
---|
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
---|
4 |
|
---|
5 | ## [13.3.0](https://www.github.com/yargs/yargs/compare/v13.2.4...v13.3.0) (2019-06-10)
|
---|
6 |
|
---|
7 |
|
---|
8 | ### Bug Fixes
|
---|
9 |
|
---|
10 | * **deps:** yargs-parser update addressing several parsing bugs ([#1357](https://www.github.com/yargs/yargs/issues/1357)) ([e230d5b](https://www.github.com/yargs/yargs/commit/e230d5b))
|
---|
11 |
|
---|
12 |
|
---|
13 | ### Features
|
---|
14 |
|
---|
15 | * **i18n:** swap out os-locale dependency for simple inline implementation ([#1356](https://www.github.com/yargs/yargs/issues/1356)) ([4dfa19b](https://www.github.com/yargs/yargs/commit/4dfa19b))
|
---|
16 | * support defaultDescription for positional arguments ([812048c](https://www.github.com/yargs/yargs/commit/812048c))
|
---|
17 |
|
---|
18 | ### [13.2.4](https://github.com/yargs/yargs/compare/v13.2.3...v13.2.4) (2019-05-13)
|
---|
19 |
|
---|
20 |
|
---|
21 | ### Bug Fixes
|
---|
22 |
|
---|
23 | * **i18n:** rename unclear 'implication failed' to 'missing dependent arguments' ([#1317](https://github.com/yargs/yargs/issues/1317)) ([bf46813](https://github.com/yargs/yargs/commit/bf46813))
|
---|
24 |
|
---|
25 |
|
---|
26 |
|
---|
27 | ### [13.2.3](https://github.com/yargs/yargs/compare/v13.2.2...v13.2.3) (2019-05-05)
|
---|
28 |
|
---|
29 |
|
---|
30 | ### Bug Fixes
|
---|
31 |
|
---|
32 | * **deps:** upgrade cliui for compatibility with latest chalk. ([#1330](https://github.com/yargs/yargs/issues/1330)) ([b20db65](https://github.com/yargs/yargs/commit/b20db65))
|
---|
33 | * address issues with dutch translation ([#1316](https://github.com/yargs/yargs/issues/1316)) ([0295132](https://github.com/yargs/yargs/commit/0295132))
|
---|
34 |
|
---|
35 |
|
---|
36 | ### Tests
|
---|
37 |
|
---|
38 | * accept differently formatted output ([#1327](https://github.com/yargs/yargs/issues/1327)) ([c294d1b](https://github.com/yargs/yargs/commit/c294d1b))
|
---|
39 |
|
---|
40 |
|
---|
41 |
|
---|
42 | ## [13.2.2](https://github.com/yargs/yargs/compare/v13.2.1...v13.2.2) (2019-03-06)
|
---|
43 |
|
---|
44 |
|
---|
45 |
|
---|
46 | ## [13.2.1](https://github.com/yargs/yargs/compare/v13.2.0...v13.2.1) (2019-02-18)
|
---|
47 |
|
---|
48 |
|
---|
49 | ### Bug Fixes
|
---|
50 |
|
---|
51 | * add zsh script to files array ([3180224](https://github.com/yargs/yargs/commit/3180224))
|
---|
52 | * support options/sub-commands in zsh completion ([0a96394](https://github.com/yargs/yargs/commit/0a96394))
|
---|
53 |
|
---|
54 |
|
---|
55 | # [13.2.0](https://github.com/yargs/yargs/compare/v13.1.0...v13.2.0) (2019-02-15)
|
---|
56 |
|
---|
57 |
|
---|
58 | ### Features
|
---|
59 |
|
---|
60 | * zsh auto completion ([#1292](https://github.com/yargs/yargs/issues/1292)) ([16c5d25](https://github.com/yargs/yargs/commit/16c5d25)), closes [#1156](https://github.com/yargs/yargs/issues/1156)
|
---|
61 |
|
---|
62 |
|
---|
63 | <a name="13.1.0"></a>
|
---|
64 | # [13.1.0](https://github.com/yargs/yargs/compare/v13.0.0...v13.1.0) (2019-02-12)
|
---|
65 |
|
---|
66 |
|
---|
67 | ### Features
|
---|
68 |
|
---|
69 | * add applyBeforeValidation, for applying sync middleware before validation ([5be206a](https://github.com/yargs/yargs/commit/5be206a))
|
---|
70 |
|
---|
71 |
|
---|
72 |
|
---|
73 | <a name="13.0.0"></a>
|
---|
74 | # [13.0.0](https://github.com/yargs/yargs/compare/v12.0.5...v13.0.0) (2019-02-02)
|
---|
75 |
|
---|
76 |
|
---|
77 | ### Bug Fixes
|
---|
78 |
|
---|
79 | * **deps:** Update os-locale to avoid security vulnerability ([#1270](https://github.com/yargs/yargs/issues/1270)) ([27bf739](https://github.com/yargs/yargs/commit/27bf739))
|
---|
80 | * **validation:** Use the error as a message when none exists otherwise ([#1268](https://github.com/yargs/yargs/issues/1268)) ([0510fe6](https://github.com/yargs/yargs/commit/0510fe6))
|
---|
81 | * better bash path completion ([#1272](https://github.com/yargs/yargs/issues/1272)) ([da75ea2](https://github.com/yargs/yargs/commit/da75ea2))
|
---|
82 | * middleware added multiple times due to reference bug ([#1282](https://github.com/yargs/yargs/issues/1282)) ([64af518](https://github.com/yargs/yargs/commit/64af518))
|
---|
83 |
|
---|
84 |
|
---|
85 | ### Chores
|
---|
86 |
|
---|
87 | * ~drop Node 6 from testing matrix ([#1287](https://github.com/yargs/yargs/issues/1287)) ([ef16792](https://github.com/yargs/yargs/commit/ef16792))~
|
---|
88 | * _opting to not drop Node 6 support until April, [see](https://github.com/nodejs/Release)._
|
---|
89 | * update dependencies ([#1284](https://github.com/yargs/yargs/issues/1284)) ([f25de4f](https://github.com/yargs/yargs/commit/f25de4f))
|
---|
90 |
|
---|
91 |
|
---|
92 | ### Features
|
---|
93 |
|
---|
94 | * Add `.parserConfiguration()` method, deprecating package.json config ([#1262](https://github.com/yargs/yargs/issues/1262)) ([3c6869a](https://github.com/yargs/yargs/commit/3c6869a))
|
---|
95 | * adds config option for sorting command output ([#1256](https://github.com/yargs/yargs/issues/1256)) ([6916ce9](https://github.com/yargs/yargs/commit/6916ce9))
|
---|
96 | * options/positionals with leading '+' and '0' no longer parse as numbers ([#1286](https://github.com/yargs/yargs/issues/1286)) ([e9dc3aa](https://github.com/yargs/yargs/commit/e9dc3aa))
|
---|
97 | * support promises in middleware ([f3a4e4f](https://github.com/yargs/yargs/commit/f3a4e4f))
|
---|
98 |
|
---|
99 |
|
---|
100 | ### BREAKING CHANGES
|
---|
101 |
|
---|
102 | * options with leading '+' or '0' now parse as strings
|
---|
103 | * dropping Node 6 which hits end of life in April 2019
|
---|
104 | * see [yargs-parser@12.0.0 CHANGELOG](https://github.com/yargs/yargs-parser/blob/master/CHANGELOG.md#breaking-changes)
|
---|
105 | * we now warn if the yargs stanza package.json is used.
|
---|
106 |
|
---|
107 |
|
---|
108 |
|
---|
109 | <a name="12.0.5"></a>
|
---|
110 | ## [12.0.5](https://github.com/yargs/yargs/compare/v12.0.4...v12.0.5) (2018-11-19)
|
---|
111 |
|
---|
112 |
|
---|
113 | ### Bug Fixes
|
---|
114 |
|
---|
115 | * allows camel-case, variadic arguments, and strict mode to be combined ([#1247](https://github.com/yargs/yargs/issues/1247)) ([eacc035](https://github.com/yargs/yargs/commit/eacc035))
|
---|
116 |
|
---|
117 |
|
---|
118 |
|
---|
119 | <a name="12.0.4"></a>
|
---|
120 | ## [12.0.4](https://github.com/yargs/yargs/compare/v12.0.3...v12.0.4) (2018-11-10)
|
---|
121 |
|
---|
122 |
|
---|
123 | ### Bug Fixes
|
---|
124 |
|
---|
125 | * don't load config when processing positionals ([5d0dc92](https://github.com/yargs/yargs/commit/5d0dc92))
|
---|
126 |
|
---|
127 |
|
---|
128 |
|
---|
129 | <a name="12.0.3"></a>
|
---|
130 | ## [12.0.3](https://github.com/yargs/yargs/compare/v12.0.2...v12.0.3) (2018-10-06)
|
---|
131 |
|
---|
132 |
|
---|
133 | ### Bug Fixes
|
---|
134 |
|
---|
135 | * $0 contains first arg in bundled electron apps ([#1206](https://github.com/yargs/yargs/issues/1206)) ([567820b](https://github.com/yargs/yargs/commit/567820b))
|
---|
136 | * accept single function for middleware ([66fd6f7](https://github.com/yargs/yargs/commit/66fd6f7)), closes [#1214](https://github.com/yargs/yargs/issues/1214) [#1214](https://github.com/yargs/yargs/issues/1214)
|
---|
137 | * hide `hidden` options from help output even if they are in a group ([#1221](https://github.com/yargs/yargs/issues/1221)) ([da54028](https://github.com/yargs/yargs/commit/da54028))
|
---|
138 | * improve Norwegian Bokmål translations ([#1208](https://github.com/yargs/yargs/issues/1208)) ([a458fa4](https://github.com/yargs/yargs/commit/a458fa4))
|
---|
139 | * improve Norwegian Nynorsk translations ([#1207](https://github.com/yargs/yargs/issues/1207)) ([d422eb5](https://github.com/yargs/yargs/commit/d422eb5))
|
---|
140 |
|
---|
141 |
|
---|
142 |
|
---|
143 | <a name="12.0.2"></a>
|
---|
144 | ## [12.0.2](https://github.com/yargs/yargs/compare/v12.0.1...v12.0.2) (2018-09-04)
|
---|
145 |
|
---|
146 |
|
---|
147 | ### Bug Fixes
|
---|
148 |
|
---|
149 | * middleware should work regardless of when method is called ([664b265](https://github.com/yargs/yargs/commit/664b265)), closes [#1178](https://github.com/yargs/yargs/issues/1178)
|
---|
150 | * translation not working when using __ with a single parameter ([#1183](https://github.com/yargs/yargs/issues/1183)) ([f449aea](https://github.com/yargs/yargs/commit/f449aea))
|
---|
151 | * upgrade os-locale to version that addresses license issue ([#1195](https://github.com/yargs/yargs/issues/1195)) ([efc0970](https://github.com/yargs/yargs/commit/efc0970))
|
---|
152 |
|
---|
153 |
|
---|
154 |
|
---|
155 | <a name="12.0.1"></a>
|
---|
156 | ## [12.0.1](https://github.com/yargs/yargs/compare/v12.0.0...v12.0.1) (2018-06-29)
|
---|
157 |
|
---|
158 |
|
---|
159 |
|
---|
160 | <a name="12.0.0"></a>
|
---|
161 | # [12.0.0](https://github.com/yargs/yargs/compare/v11.1.0...v12.0.0) (2018-06-26)
|
---|
162 |
|
---|
163 |
|
---|
164 | ### Bug Fixes
|
---|
165 |
|
---|
166 | * .argv and .parse() now invoke identical code path ([#1126](https://github.com/yargs/yargs/issues/1126)) ([f13ebf4](https://github.com/yargs/yargs/commit/f13ebf4))
|
---|
167 | * remove the trailing white spaces from the help output ([#1090](https://github.com/yargs/yargs/issues/1090)) ([3f0746c](https://github.com/yargs/yargs/commit/3f0746c))
|
---|
168 | * **completion:** Avoid default command and recommendations during completion ([#1123](https://github.com/yargs/yargs/issues/1123)) ([036e7c5](https://github.com/yargs/yargs/commit/036e7c5))
|
---|
169 |
|
---|
170 |
|
---|
171 | ### Chores
|
---|
172 |
|
---|
173 | * test Node.js 6, 8 and 10 ([#1160](https://github.com/yargs/yargs/issues/1160)) ([84f9d2b](https://github.com/yargs/yargs/commit/84f9d2b))
|
---|
174 | * upgrade to version of yargs-parser that does not populate value for unset boolean ([#1104](https://github.com/yargs/yargs/issues/1104)) ([d4705f4](https://github.com/yargs/yargs/commit/d4705f4))
|
---|
175 |
|
---|
176 |
|
---|
177 | ### Features
|
---|
178 |
|
---|
179 | * add support for global middleware, useful for shared tasks like metrics ([#1119](https://github.com/yargs/yargs/issues/1119)) ([9d71ac7](https://github.com/yargs/yargs/commit/9d71ac7))
|
---|
180 | * allow setting scriptName $0 ([#1143](https://github.com/yargs/yargs/issues/1143)) ([a2f2eae](https://github.com/yargs/yargs/commit/a2f2eae))
|
---|
181 | * remove `setPlaceholderKeys` ([#1105](https://github.com/yargs/yargs/issues/1105)) ([6ee2c82](https://github.com/yargs/yargs/commit/6ee2c82))
|
---|
182 |
|
---|
183 |
|
---|
184 | ### BREAKING CHANGES
|
---|
185 |
|
---|
186 | * Options absent from `argv` (not set via CLI argument) are now absent from the parsed result object rather than being set with `undefined`
|
---|
187 | * drop Node 4 from testing matrix, such that we'll gradually start drifting away from supporting Node 4.
|
---|
188 | * yargs-parser does not populate 'false' when boolean flag is not passed
|
---|
189 | * tests that assert against help output will need to be updated
|
---|
190 |
|
---|
191 |
|
---|
192 |
|
---|
193 | <a name="11.1.0"></a>
|
---|
194 | # [11.1.0](https://github.com/yargs/yargs/compare/v11.0.0...v11.1.0) (2018-03-04)
|
---|
195 |
|
---|
196 |
|
---|
197 | ### Bug Fixes
|
---|
198 |
|
---|
199 | * choose correct config directory when require.main does not exist ([#1056](https://github.com/yargs/yargs/issues/1056)) ([a04678c](https://github.com/yargs/yargs/commit/a04678c))
|
---|
200 |
|
---|
201 |
|
---|
202 | ### Features
|
---|
203 |
|
---|
204 | * allow hidden options to be displayed with --show-hidden ([#1061](https://github.com/yargs/yargs/issues/1061)) ([ea862ae](https://github.com/yargs/yargs/commit/ea862ae))
|
---|
205 | * extend *.rc files in addition to json ([#1080](https://github.com/yargs/yargs/issues/1080)) ([11691a6](https://github.com/yargs/yargs/commit/11691a6))
|
---|
206 |
|
---|
207 |
|
---|
208 |
|
---|
209 | <a name="11.0.0"></a>
|
---|
210 | # [11.0.0](https://github.com/yargs/yargs/compare/v10.1.2...v11.0.0) (2018-01-22)
|
---|
211 |
|
---|
212 |
|
---|
213 | ### Bug Fixes
|
---|
214 |
|
---|
215 | * Set implicit nargs=1 when type=number requiresArg=true ([#1050](https://github.com/yargs/yargs/issues/1050)) ([2b56812](https://github.com/yargs/yargs/commit/2b56812))
|
---|
216 |
|
---|
217 |
|
---|
218 | ### Features
|
---|
219 |
|
---|
220 | * requiresArg is now simply an alias for nargs(1) ([#1054](https://github.com/yargs/yargs/issues/1054)) ([a3ddacc](https://github.com/yargs/yargs/commit/a3ddacc))
|
---|
221 |
|
---|
222 |
|
---|
223 | ### BREAKING CHANGES
|
---|
224 |
|
---|
225 | * requiresArg now has significantly different error output, matching nargs.
|
---|
226 |
|
---|
227 |
|
---|
228 |
|
---|
229 | <a name="10.1.2"></a>
|
---|
230 | ## [10.1.2](https://github.com/yargs/yargs/compare/v10.1.1...v10.1.2) (2018-01-17)
|
---|
231 |
|
---|
232 |
|
---|
233 | ### Bug Fixes
|
---|
234 |
|
---|
235 | * requiresArg should only be enforced if argument exists ([#1043](https://github.com/yargs/yargs/issues/1043)) ([fbf41ae](https://github.com/yargs/yargs/commit/fbf41ae))
|
---|
236 |
|
---|
237 |
|
---|
238 |
|
---|
239 | <a name="10.1.1"></a>
|
---|
240 | ## [10.1.1](https://github.com/yargs/yargs/compare/v10.1.0...v10.1.1) (2018-01-09)
|
---|
241 |
|
---|
242 |
|
---|
243 | ### Bug Fixes
|
---|
244 |
|
---|
245 | * Add `dirname` sanity check on `findUp` ([#1036](https://github.com/yargs/yargs/issues/1036)) ([331d103](https://github.com/yargs/yargs/commit/331d103))
|
---|
246 |
|
---|
247 |
|
---|
248 |
|
---|
249 | <a name="10.1.0"></a>
|
---|
250 | # [10.1.0](https://github.com/yargs/yargs/compare/v10.0.3...v10.1.0) (2018-01-01)
|
---|
251 |
|
---|
252 |
|
---|
253 | ### Bug Fixes
|
---|
254 |
|
---|
255 | * 'undefined' should be taken to mean no argument was provided ([#1015](https://github.com/yargs/yargs/issues/1015)) ([c679e90](https://github.com/yargs/yargs/commit/c679e90))
|
---|
256 |
|
---|
257 |
|
---|
258 | ### Features
|
---|
259 |
|
---|
260 | * add missing simple chinese locale strings ([#1004](https://github.com/yargs/yargs/issues/1004)) ([3cc24ec](https://github.com/yargs/yargs/commit/3cc24ec))
|
---|
261 | * add Norwegian Nynorsk translations ([#1028](https://github.com/yargs/yargs/issues/1028)) ([a5ac213](https://github.com/yargs/yargs/commit/a5ac213))
|
---|
262 | * async command handlers ([#1001](https://github.com/yargs/yargs/issues/1001)) ([241124b](https://github.com/yargs/yargs/commit/241124b))
|
---|
263 | * middleware ([#881](https://github.com/yargs/yargs/issues/881)) ([77b8dbc](https://github.com/yargs/yargs/commit/77b8dbc))
|
---|
264 |
|
---|
265 |
|
---|
266 |
|
---|
267 | <a name="10.0.3"></a>
|
---|
268 | ## [10.0.3](https://github.com/yargs/yargs/compare/v10.0.2...v10.0.3) (2017-10-21)
|
---|
269 |
|
---|
270 |
|
---|
271 | ### Bug Fixes
|
---|
272 |
|
---|
273 | * parse array rather than string, so that quotes are safe ([#993](https://github.com/yargs/yargs/issues/993)) ([c351685](https://github.com/yargs/yargs/commit/c351685))
|
---|
274 |
|
---|
275 |
|
---|
276 |
|
---|
277 | <a name="10.0.2"></a>
|
---|
278 | ## [10.0.2](https://github.com/yargs/yargs/compare/v10.0.1...v10.0.2) (2017-10-21)
|
---|
279 |
|
---|
280 |
|
---|
281 | ### Bug Fixes
|
---|
282 |
|
---|
283 | * fix tiny spacing issue with usage ([#992](https://github.com/yargs/yargs/issues/992)) ([7871327](https://github.com/yargs/yargs/commit/7871327))
|
---|
284 |
|
---|
285 |
|
---|
286 |
|
---|
287 | <a name="10.0.1"></a>
|
---|
288 | ## [10.0.1](https://github.com/yargs/yargs/compare/v10.0.0...v10.0.1) (2017-10-19)
|
---|
289 |
|
---|
290 |
|
---|
291 | ### Bug Fixes
|
---|
292 |
|
---|
293 | * help strings for nested commands were missing parent commands ([#990](https://github.com/yargs/yargs/issues/990)) ([cd1ca15](https://github.com/yargs/yargs/commit/cd1ca15))
|
---|
294 | * use correct completion command in generated completion script ([#988](https://github.com/yargs/yargs/issues/988)) ([3c8ac1d](https://github.com/yargs/yargs/commit/3c8ac1d))
|
---|
295 |
|
---|
296 |
|
---|
297 |
|
---|
298 | <a name="10.0.0"></a>
|
---|
299 | # [10.0.0](https://github.com/yargs/yargs/compare/v9.1.0...v10.0.0) (2017-10-18)
|
---|
300 |
|
---|
301 |
|
---|
302 | ### Bug Fixes
|
---|
303 |
|
---|
304 | * config and normalize can be disabled with false ([#952](https://github.com/yargs/yargs/issues/952)) ([3bb8771](https://github.com/yargs/yargs/commit/3bb8771))
|
---|
305 | * less eager help command execution ([#972](https://github.com/yargs/yargs/issues/972)) ([8c1d7bf](https://github.com/yargs/yargs/commit/8c1d7bf))
|
---|
306 | * the positional argument parse was clobbering global flag arguments ([#984](https://github.com/yargs/yargs/issues/984)) ([7e58453](https://github.com/yargs/yargs/commit/7e58453))
|
---|
307 |
|
---|
308 |
|
---|
309 | ### Features
|
---|
310 |
|
---|
311 | * .usage() can now be used to configure a default command ([#975](https://github.com/yargs/yargs/issues/975)) ([7269531](https://github.com/yargs/yargs/commit/7269531))
|
---|
312 | * hidden options are now explicitly indicated using "hidden" flag ([#962](https://github.com/yargs/yargs/issues/962)) ([280d0d6](https://github.com/yargs/yargs/commit/280d0d6))
|
---|
313 | * introduce .positional() for configuring positional arguments ([#967](https://github.com/yargs/yargs/issues/967)) ([cb16460](https://github.com/yargs/yargs/commit/cb16460))
|
---|
314 | * replace $0 with file basename ([#983](https://github.com/yargs/yargs/issues/983)) ([20bb99b](https://github.com/yargs/yargs/commit/20bb99b))
|
---|
315 |
|
---|
316 |
|
---|
317 | ### BREAKING CHANGES
|
---|
318 |
|
---|
319 | * .usage() no longer accepts an options object as the second argument. It can instead be used as an alias for configuring a default command.
|
---|
320 | * previously hidden options were simply implied using a falsy description
|
---|
321 | * help command now only executes if it's the last positional in argv._
|
---|
322 |
|
---|
323 |
|
---|
324 |
|
---|
325 | <a name="9.1.0"></a>
|
---|
326 | # [9.1.0](https://github.com/yargs/yargs/compare/v9.0.1...v9.1.0) (2017-09-25)
|
---|
327 |
|
---|
328 |
|
---|
329 | ### Bug Fixes
|
---|
330 |
|
---|
331 | * **command:** Run default cmd even if the only cmd ([#950](https://github.com/yargs/yargs/issues/950)) ([7b22203](https://github.com/yargs/yargs/commit/7b22203))
|
---|
332 |
|
---|
333 |
|
---|
334 | ### Features
|
---|
335 |
|
---|
336 | * multiple usage calls are now collected, not replaced ([#958](https://github.com/yargs/yargs/issues/958)) ([74a38b2](https://github.com/yargs/yargs/commit/74a38b2))
|
---|
337 |
|
---|
338 |
|
---|
339 |
|
---|
340 | <a name="9.0.1"></a>
|
---|
341 | ## [9.0.1](https://github.com/yargs/yargs/compare/v9.0.0...v9.0.1) (2017-09-17)
|
---|
342 |
|
---|
343 |
|
---|
344 | ### Bug Fixes
|
---|
345 |
|
---|
346 | * implications fails only displayed once ([#954](https://github.com/yargs/yargs/issues/954)) ([ac8088b](https://github.com/yargs/yargs/commit/ac8088b))
|
---|
347 |
|
---|
348 |
|
---|
349 |
|
---|
350 | <a name="9.0.0"></a>
|
---|
351 | # [9.0.0](https://github.com/yargs/yargs/compare/v8.0.2...v9.0.0) (2017-09-03)
|
---|
352 |
|
---|
353 |
|
---|
354 | ### Bug Fixes
|
---|
355 |
|
---|
356 | * 'undefined' default value for choices resulted in validation failing ([782b896](https://github.com/yargs/yargs/commit/782b896))
|
---|
357 | * address bug with handling of arrays of implications ([c240661](https://github.com/yargs/yargs/commit/c240661))
|
---|
358 | * defaulting keys to 'undefined' interfered with conflicting key logic ([a8e0cff](https://github.com/yargs/yargs/commit/a8e0cff))
|
---|
359 | * don't bother calling JSON.stringify() on string default values ([#891](https://github.com/yargs/yargs/issues/891)) ([628be21](https://github.com/yargs/yargs/commit/628be21))
|
---|
360 | * exclude positional arguments from completion output ([#927](https://github.com/yargs/yargs/issues/927)) ([71c7ec7](https://github.com/yargs/yargs/commit/71c7ec7))
|
---|
361 | * strict mode should not fail for hidden options ([#949](https://github.com/yargs/yargs/issues/949)) ([0e0c58d](https://github.com/yargs/yargs/commit/0e0c58d))
|
---|
362 |
|
---|
363 |
|
---|
364 | ### Features
|
---|
365 |
|
---|
366 | * allow implies and conflicts to accept array values ([#922](https://github.com/yargs/yargs/issues/922)) ([abdc7da](https://github.com/yargs/yargs/commit/abdc7da))
|
---|
367 | * allow parse with no arguments as alias for yargs.argv ([#944](https://github.com/yargs/yargs/issues/944)) ([a9f03e7](https://github.com/yargs/yargs/commit/a9f03e7))
|
---|
368 | * enable .help() and .version() by default ([#912](https://github.com/yargs/yargs/issues/912)) ([1ef44e0](https://github.com/yargs/yargs/commit/1ef44e0))
|
---|
369 | * to allow both undefined and nulls, for benefit of TypeScript ([#945](https://github.com/yargs/yargs/issues/945)) ([792564d](https://github.com/yargs/yargs/commit/792564d))
|
---|
370 |
|
---|
371 |
|
---|
372 | ### BREAKING CHANGES
|
---|
373 |
|
---|
374 | * version() and help() are now enabled by default, and show up in help output; the implicit help command can no longer be enabled/disabled independently from the help command itself (which can now be disabled).
|
---|
375 | * parse() now behaves as an alias for .argv, unless a parseCallback is provided.
|
---|
376 |
|
---|
377 |
|
---|
378 |
|
---|
379 | <a name="8.0.2"></a>
|
---|
380 | ## [8.0.2](https://github.com/yargs/yargs/compare/v8.0.1...v8.0.2) (2017-06-12)
|
---|
381 |
|
---|
382 |
|
---|
383 |
|
---|
384 | <a name="8.0.1"></a>
|
---|
385 | ## [8.0.1](https://github.com/yargs/yargs/compare/v8.0.0...v8.0.1) (2017-05-02)
|
---|
386 |
|
---|
387 |
|
---|
388 |
|
---|
389 | <a name="8.0.0"></a>
|
---|
390 | # [8.0.0](https://github.com/yargs/yargs/compare/v7.1.0...v8.0.0) (2017-05-01)
|
---|
391 |
|
---|
392 |
|
---|
393 | ### Bug Fixes
|
---|
394 |
|
---|
395 | * commands are now applied in order, from left to right ([#857](https://github.com/yargs/yargs/issues/857)) ([baba863](https://github.com/yargs/yargs/commit/baba863))
|
---|
396 | * help now takes precedence over command recommendation ([#866](https://github.com/yargs/yargs/issues/866)) ([17e3567](https://github.com/yargs/yargs/commit/17e3567))
|
---|
397 | * positional arguments now work if no handler is provided to inner command ([#864](https://github.com/yargs/yargs/issues/864)) ([e28ded3](https://github.com/yargs/yargs/commit/e28ded3))
|
---|
398 |
|
---|
399 |
|
---|
400 | ### Chores
|
---|
401 |
|
---|
402 | * upgrade yargs-parser ([#867](https://github.com/yargs/yargs/issues/867)) ([8f9c6c6](https://github.com/yargs/yargs/commit/8f9c6c6))
|
---|
403 |
|
---|
404 |
|
---|
405 | ### Features
|
---|
406 |
|
---|
407 | * allow extends to inherit from a module ([#865](https://github.com/yargs/yargs/issues/865)) ([89456d9](https://github.com/yargs/yargs/commit/89456d9))
|
---|
408 | * allow strict mode to be disabled ([#840](https://github.com/yargs/yargs/issues/840)) ([6f78c05](https://github.com/yargs/yargs/commit/6f78c05))
|
---|
409 |
|
---|
410 |
|
---|
411 | ### BREAKING CHANGES
|
---|
412 |
|
---|
413 | * extends functionality now always loads the JSON provided, rather than reading from a specific key
|
---|
414 | * Node 4+ is now required; this will allow us to start updating our dependencies.
|
---|
415 | * the first argument to strict() is now used to enable/disable its functionality, rather than controlling whether or not it is global.
|
---|
416 |
|
---|
417 |
|
---|
418 |
|
---|
419 | <a name="7.1.0"></a>
|
---|
420 | # [7.1.0](https://github.com/yargs/yargs/compare/v7.0.2...v7.1.0) (2017-04-13)
|
---|
421 |
|
---|
422 |
|
---|
423 | ### Bug Fixes
|
---|
424 |
|
---|
425 | * fix demandOption no longer treats 'false' as truthy ([#829](https://github.com/yargs/yargs/issues/829)) ([c748dd2](https://github.com/yargs/yargs/commit/c748dd2))
|
---|
426 | * get terminalWidth in non interactive mode no longer causes a validation exception ([#837](https://github.com/yargs/yargs/issues/837)) ([360e301](https://github.com/yargs/yargs/commit/360e301))
|
---|
427 | * we shouldn't output help if we've printed a prior help-like message ([#847](https://github.com/yargs/yargs/issues/847)) ([17e89bd](https://github.com/yargs/yargs/commit/17e89bd))
|
---|
428 |
|
---|
429 |
|
---|
430 | ### Features
|
---|
431 |
|
---|
432 | * add support for numeric commands ([#825](https://github.com/yargs/yargs/issues/825)) ([fde0564](https://github.com/yargs/yargs/commit/fde0564))
|
---|
433 |
|
---|
434 |
|
---|
435 |
|
---|
436 | <a name="7.0.2"></a>
|
---|
437 | ## [7.0.2](https://github.com/yargs/yargs/compare/v7.0.1...v7.0.2) (2017-03-10)
|
---|
438 |
|
---|
439 |
|
---|
440 | ### Bug Fixes
|
---|
441 |
|
---|
442 | * populating placeholder arguments broke validation ([b3eb2fe](https://github.com/yargs/yargs/commit/b3eb2fe))
|
---|
443 |
|
---|
444 |
|
---|
445 |
|
---|
446 | <a name="7.0.1"></a>
|
---|
447 | ## [7.0.1](https://github.com/yargs/yargs/compare/v7.0.0...v7.0.1) (2017-03-03)
|
---|
448 |
|
---|
449 |
|
---|
450 | ### Bug Fixes
|
---|
451 |
|
---|
452 | * --help with default command should print top-level help ([#810](https://github.com/yargs/yargs/issues/810)) ([9c03fa4](https://github.com/yargs/yargs/commit/9c03fa4))
|
---|
453 |
|
---|
454 |
|
---|
455 |
|
---|
456 | <a name="7.0.0"></a>
|
---|
457 | # [7.0.0](https://github.com/yargs/yargs/compare/v6.6.0...v7.0.0) (2017-02-26)
|
---|
458 |
|
---|
459 |
|
---|
460 | ### Bug Fixes
|
---|
461 |
|
---|
462 | * address min/max validation message regression ([#750](https://github.com/yargs/yargs/issues/750)) ([2e5ce0f](https://github.com/yargs/yargs/commit/2e5ce0f))
|
---|
463 | * address positional argument strict() bug introduced in [#766](https://github.com/yargs/yargs/issues/766) ([#784](https://github.com/yargs/yargs/issues/784)) ([a8528e6](https://github.com/yargs/yargs/commit/a8528e6))
|
---|
464 | * console.warn() rather than throwing errors when api signatures are incorrect ([#804](https://github.com/yargs/yargs/issues/804)) ([a607061](https://github.com/yargs/yargs/commit/a607061))
|
---|
465 | * context should override parsed argv ([#786](https://github.com/yargs/yargs/issues/786)) ([0997288](https://github.com/yargs/yargs/commit/0997288))
|
---|
466 | * context variables are now recognized in strict() mode ([#796](https://github.com/yargs/yargs/issues/796)) ([48575cd](https://github.com/yargs/yargs/commit/48575cd))
|
---|
467 | * errors were not bubbling appropriately from sub-commands to top-level ([#802](https://github.com/yargs/yargs/issues/802)) ([8a992f5](https://github.com/yargs/yargs/commit/8a992f5))
|
---|
468 | * positional arguments of sub-commands threw strict() exception ([#805](https://github.com/yargs/yargs/issues/805)) ([f3f074b](https://github.com/yargs/yargs/commit/f3f074b))
|
---|
469 | * pull in yargs-parser with modified env precedence ([#787](https://github.com/yargs/yargs/issues/787)) ([e0fbbe5](https://github.com/yargs/yargs/commit/e0fbbe5))
|
---|
470 | * running parse() multiple times on the same yargs instance caused exception if help() enabled ([#790](https://github.com/yargs/yargs/issues/790)) ([07e39b7](https://github.com/yargs/yargs/commit/07e39b7))
|
---|
471 | * use path.resolve() to support node 0.10 ([#797](https://github.com/yargs/yargs/issues/797)) ([49a93fc](https://github.com/yargs/yargs/commit/49a93fc))
|
---|
472 |
|
---|
473 |
|
---|
474 | ### Features
|
---|
475 |
|
---|
476 | * add conflicts and implies shorthands. ([#753](https://github.com/yargs/yargs/issues/753)) ([bd1472b](https://github.com/yargs/yargs/commit/bd1472b))
|
---|
477 | * add traditional Chinese translation ([#780](https://github.com/yargs/yargs/issues/780)) ([6ab6a95](https://github.com/yargs/yargs/commit/6ab6a95))
|
---|
478 | * allow provided config object to extend other configs ([#779](https://github.com/yargs/yargs/issues/779)) ([3280dd0](https://github.com/yargs/yargs/commit/3280dd0))
|
---|
479 | * function argument validation ([#773](https://github.com/yargs/yargs/issues/773)) ([22ed9bb](https://github.com/yargs/yargs/commit/22ed9bb))
|
---|
480 | * if only one column is provided for examples, allow it to take up the entire line ([#749](https://github.com/yargs/yargs/issues/749)) ([7931652](https://github.com/yargs/yargs/commit/7931652))
|
---|
481 | * introduce custom yargs error object ([#765](https://github.com/yargs/yargs/issues/765)) ([8308efa](https://github.com/yargs/yargs/commit/8308efa))
|
---|
482 | * introduces support for default commands, using the '*' identifier ([#785](https://github.com/yargs/yargs/issues/785)) ([d78a0f5](https://github.com/yargs/yargs/commit/d78a0f5))
|
---|
483 | * rethink how options are inherited by commands ([#766](https://github.com/yargs/yargs/issues/766)) ([ab1fa4b](https://github.com/yargs/yargs/commit/ab1fa4b))
|
---|
484 |
|
---|
485 |
|
---|
486 | ### BREAKING CHANGES
|
---|
487 |
|
---|
488 | * `extends` key in config file is now used for extending other config files
|
---|
489 | * environment variables now take precedence over config files.
|
---|
490 | * context now takes precedence over argv and defaults
|
---|
491 | * the arguments passed to functions are now validated, there's a good chance this will throw exceptions for a few folks who are using the API in an unexpected way.
|
---|
492 | * by default options, and many of yargs' parsing helpers will now default to being applied globally; such that they are no-longer reset before being passed into commands.
|
---|
493 | * yargs will no longer aggressively suppress errors, allowing errors that are not generated internally to bubble.
|
---|
494 |
|
---|
495 |
|
---|
496 |
|
---|
497 | <a name="6.6.0"></a>
|
---|
498 | # [6.6.0](https://github.com/yargs/yargs/compare/v6.5.0...v6.6.0) (2016-12-29)
|
---|
499 |
|
---|
500 |
|
---|
501 | ### Bug Fixes
|
---|
502 |
|
---|
503 | * [object Object] was accidentally being populated on options object ([#736](https://github.com/yargs/yargs/issues/736)) ([f755e27](https://github.com/yargs/yargs/commit/f755e27))
|
---|
504 | * do not use cwd when resolving package.json for yargs parsing config ([#726](https://github.com/yargs/yargs/issues/726)) ([9bdaab7](https://github.com/yargs/yargs/commit/9bdaab7))
|
---|
505 |
|
---|
506 |
|
---|
507 | ### Features
|
---|
508 |
|
---|
509 | * implement conflicts() for defining mutually exclusive arguments; thanks [@madcampos](https://github.com/madcampos)! ([#741](https://github.com/yargs/yargs/issues/741)) ([5883779](https://github.com/yargs/yargs/commit/5883779))
|
---|
510 | * split demand() into demandCommand()/demandOption() ([#740](https://github.com/yargs/yargs/issues/740)) ([66573c8](https://github.com/yargs/yargs/commit/66573c8))
|
---|
511 | * support for positional argument aliases ([#727](https://github.com/yargs/yargs/issues/727)) ([27e1a57](https://github.com/yargs/yargs/commit/27e1a57))
|
---|
512 |
|
---|
513 |
|
---|
514 |
|
---|
515 | <a name="6.5.0"></a>
|
---|
516 | # [6.5.0](https://github.com/yargs/yargs/compare/v6.4.0...v6.5.0) (2016-12-01)
|
---|
517 |
|
---|
518 |
|
---|
519 | ### Bug Fixes
|
---|
520 |
|
---|
521 | * still freeze/unfreeze if parse() is called in isolation ([#717](https://github.com/yargs/yargs/issues/717)) ([30a9492](https://github.com/yargs/yargs/commit/30a9492))
|
---|
522 |
|
---|
523 |
|
---|
524 | ### Features
|
---|
525 |
|
---|
526 | * pull in yargs-parser introducing additional settings ([#688](https://github.com/yargs/yargs/issues/688)), and fixing [#716](https://github.com/yargs/yargs/issues/716) ([#722](https://github.com/yargs/yargs/issues/722)) ([702995a](https://github.com/yargs/yargs/commit/702995a))
|
---|
527 |
|
---|
528 |
|
---|
529 |
|
---|
530 | <a name="6.4.0"></a>
|
---|
531 | # [6.4.0](https://github.com/yargs/yargs/compare/v6.3.0...v6.4.0) (2016-11-13)
|
---|
532 |
|
---|
533 |
|
---|
534 | ### Bug Fixes
|
---|
535 |
|
---|
536 | * **locales:** correct some Russian translations ([#691](https://github.com/yargs/yargs/issues/691)) ([a980671](https://github.com/yargs/yargs/commit/a980671))
|
---|
537 |
|
---|
538 |
|
---|
539 | ### Features
|
---|
540 |
|
---|
541 | * **locales:** Added Belarusian translation ([#690](https://github.com/yargs/yargs/issues/690)) ([68dac1f](https://github.com/yargs/yargs/commit/68dac1f))
|
---|
542 | * **locales:** Create nl.json ([#687](https://github.com/yargs/yargs/issues/687)) ([46ce1bb](https://github.com/yargs/yargs/commit/46ce1bb))
|
---|
543 | * update to yargs-parser that addresses [#598](https://github.com/yargs/yargs/issues/598), [#617](https://github.com/yargs/yargs/issues/617) ([#700](https://github.com/yargs/yargs/issues/700)) ([54cb31d](https://github.com/yargs/yargs/commit/54cb31d))
|
---|
544 | * yargs is now passed as the third-argument to fail handler ([#613](https://github.com/yargs/yargs/issues/613)) ([21b74f9](https://github.com/yargs/yargs/commit/21b74f9))
|
---|
545 |
|
---|
546 |
|
---|
547 | ### Performance Improvements
|
---|
548 |
|
---|
549 | * normalizing package data is an expensive operation ([#705](https://github.com/yargs/yargs/issues/705)) ([49cf533](https://github.com/yargs/yargs/commit/49cf533))
|
---|
550 |
|
---|
551 |
|
---|
552 |
|
---|
553 | <a name="6.3.0"></a>
|
---|
554 | # [6.3.0](https://github.com/yargs/yargs/compare/v6.2.0...v6.3.0) (2016-10-19)
|
---|
555 |
|
---|
556 |
|
---|
557 | ### Bug Fixes
|
---|
558 |
|
---|
559 | * **command:** subcommands via commandDir() now supported for parse(msg, cb) ([#678](https://github.com/yargs/yargs/issues/678)) ([6b85cc6](https://github.com/yargs/yargs/commit/6b85cc6))
|
---|
560 |
|
---|
561 |
|
---|
562 | ### Features
|
---|
563 |
|
---|
564 | * **locales:** Add Thai locale file ([#679](https://github.com/yargs/yargs/issues/679)) ([c05e36b](https://github.com/yargs/yargs/commit/c05e36b))
|
---|
565 |
|
---|
566 |
|
---|
567 |
|
---|
568 | <a name="6.2.0"></a>
|
---|
569 | # [6.2.0](https://github.com/yargs/yargs/compare/v6.1.1...v6.2.0) (2016-10-16)
|
---|
570 |
|
---|
571 |
|
---|
572 | ### Bug Fixes
|
---|
573 |
|
---|
574 | * stop applying parser to context object ([#675](https://github.com/yargs/yargs/issues/675)) ([3fe9b8f](https://github.com/yargs/yargs/commit/3fe9b8f))
|
---|
575 |
|
---|
576 |
|
---|
577 | ### Features
|
---|
578 |
|
---|
579 | * add new pt_BR translations ([#674](https://github.com/yargs/yargs/issues/674)) ([5615a82](https://github.com/yargs/yargs/commit/5615a82))
|
---|
580 | * Italian translations for 'did you mean' and 'aliases' ([#673](https://github.com/yargs/yargs/issues/673)) ([81984e6](https://github.com/yargs/yargs/commit/81984e6))
|
---|
581 |
|
---|
582 |
|
---|
583 |
|
---|
584 | <a name="6.1.1"></a>
|
---|
585 | ## [6.1.1](https://github.com/yargs/yargs/compare/v6.1.0...v6.1.1) (2016-10-15)
|
---|
586 |
|
---|
587 |
|
---|
588 | ### Bug Fixes
|
---|
589 |
|
---|
590 | * freeze was not resetting configObjects to initial state; addressed performance issue raised by [@nexdrew](https://github.com/nexdrew). ([#670](https://github.com/yargs/yargs/issues/670)) ([ae4bcd4](https://github.com/yargs/yargs/commit/ae4bcd4))
|
---|
591 |
|
---|
592 |
|
---|
593 |
|
---|
594 | <a name="6.1.0"></a>
|
---|
595 | # [6.1.0](https://github.com/yargs/yargs/compare/v6.0.0...v6.1.0) (2016-10-15)
|
---|
596 |
|
---|
597 |
|
---|
598 | ### Bug Fixes
|
---|
599 |
|
---|
600 | * **locales:** change some translations ([#667](https://github.com/yargs/yargs/issues/667)) ([aa966c5](https://github.com/yargs/yargs/commit/aa966c5))
|
---|
601 | * **locales:** conform hi locale to y18n.__n expectations ([#666](https://github.com/yargs/yargs/issues/666)) ([22adb18](https://github.com/yargs/yargs/commit/22adb18))
|
---|
602 |
|
---|
603 |
|
---|
604 | ### Features
|
---|
605 |
|
---|
606 | * initial support for command aliases ([#647](https://github.com/yargs/yargs/issues/647)) ([127a040](https://github.com/yargs/yargs/commit/127a040))
|
---|
607 | * **command:** add camelcase commands to argv ([#658](https://github.com/yargs/yargs/issues/658)) ([b1cabae](https://github.com/yargs/yargs/commit/b1cabae))
|
---|
608 | * **locales:** add Hindi translations ([9290912](https://github.com/yargs/yargs/commit/9290912))
|
---|
609 | * **locales:** add Hungarian translations ([be92327](https://github.com/yargs/yargs/commit/be92327))
|
---|
610 | * **locales:** Japanese translations for 'did you mean' and 'aliases' ([#651](https://github.com/yargs/yargs/issues/651)) ([5eb78fc](https://github.com/yargs/yargs/commit/5eb78fc))
|
---|
611 | * **locales:** Polish translations for 'did you mean' and 'aliases' ([#650](https://github.com/yargs/yargs/issues/650)) ([c951c0e](https://github.com/yargs/yargs/commit/c951c0e))
|
---|
612 | * reworking yargs API to make it easier to run in headless environments, e.g., Slack ([#646](https://github.com/yargs/yargs/issues/646)) ([f284c29](https://github.com/yargs/yargs/commit/f284c29))
|
---|
613 | * Turkish translations for 'did you mean' and 'aliases' ([#660](https://github.com/yargs/yargs/issues/660)) ([072fd45](https://github.com/yargs/yargs/commit/072fd45))
|
---|
614 |
|
---|
615 |
|
---|
616 |
|
---|
617 | <a name="6.0.0"></a>
|
---|
618 | # [6.0.0](https://github.com/yargs/yargs/compare/v5.0.0...v6.0.0) (2016-09-30)
|
---|
619 |
|
---|
620 |
|
---|
621 | ### Bug Fixes
|
---|
622 |
|
---|
623 | * changed parsing of the command string to ignore extra spaces ([#600](https://github.com/yargs/yargs/issues/600)) ([e8e5a72](https://github.com/yargs/yargs/commit/e8e5a72))
|
---|
624 | * drop lodash.assign ([#641](https://github.com/yargs/yargs/issues/641)) ([ad3146f](https://github.com/yargs/yargs/commit/ad3146f))
|
---|
625 | * for args that have skipValidation set to `true`, check if the parsed arg is `true` ([#619](https://github.com/yargs/yargs/issues/619)) ([658a34c](https://github.com/yargs/yargs/commit/658a34c))
|
---|
626 | * upgrade standard, and fix appveyor config so that it works with newest standard ([#607](https://github.com/yargs/yargs/issues/607)) ([c301f42](https://github.com/yargs/yargs/commit/c301f42))
|
---|
627 |
|
---|
628 |
|
---|
629 | ### Chores
|
---|
630 |
|
---|
631 | * upgrade yargs-parser ([#633](https://github.com/yargs/yargs/issues/633)) ([cc1224e](https://github.com/yargs/yargs/commit/cc1224e))
|
---|
632 |
|
---|
633 |
|
---|
634 | ### Features
|
---|
635 |
|
---|
636 | * make opts object optional for .option() ([#624](https://github.com/yargs/yargs/issues/624)) ([4f29de6](https://github.com/yargs/yargs/commit/4f29de6))
|
---|
637 |
|
---|
638 |
|
---|
639 | ### Performance Improvements
|
---|
640 |
|
---|
641 | * defer windowWidth() to improve perf for non-help usage ([#610](https://github.com/yargs/yargs/issues/610)) ([cbc3636](https://github.com/yargs/yargs/commit/cbc3636))
|
---|
642 |
|
---|
643 |
|
---|
644 | ### BREAKING CHANGES
|
---|
645 |
|
---|
646 | * coerce is now applied as a final step after other parsing is complete
|
---|
647 |
|
---|
648 |
|
---|
649 |
|
---|
650 | <a name="5.0.0"></a>
|
---|
651 | # [5.0.0](https://github.com/yargs/yargs/compare/v4.8.1...v5.0.0) (2016-08-14)
|
---|
652 |
|
---|
653 |
|
---|
654 | ### Bug Fixes
|
---|
655 |
|
---|
656 | * **default:** Remove undocumented alias of default() ([#469](https://github.com/yargs/yargs/issues/469)) ([b8591b2](https://github.com/yargs/yargs/commit/b8591b2))
|
---|
657 | * remove deprecated zh.json ([#578](https://github.com/yargs/yargs/issues/578)) ([317c62c](https://github.com/yargs/yargs/commit/317c62c))
|
---|
658 |
|
---|
659 |
|
---|
660 | ### Features
|
---|
661 |
|
---|
662 | * .help() API can now enable implicit help command ([#574](https://github.com/yargs/yargs/issues/574)) ([7645019](https://github.com/yargs/yargs/commit/7645019))
|
---|
663 | * **command:** builder function no longer needs to return the yargs instance ([#549](https://github.com/yargs/yargs/issues/549)) ([eaa2873](https://github.com/yargs/yargs/commit/eaa2873))
|
---|
664 | * add coerce api ([#586](https://github.com/yargs/yargs/issues/586)) ([1d53ccb](https://github.com/yargs/yargs/commit/1d53ccb))
|
---|
665 | * adds recommendCommands() for command suggestions ([#580](https://github.com/yargs/yargs/issues/580)) ([59474dc](https://github.com/yargs/yargs/commit/59474dc))
|
---|
666 | * apply .env() globally ([#553](https://github.com/yargs/yargs/issues/553)) ([be65728](https://github.com/yargs/yargs/commit/be65728))
|
---|
667 | * apply default builder to command() and apply fail() handlers globally ([#583](https://github.com/yargs/yargs/issues/583)) ([0aaa68b](https://github.com/yargs/yargs/commit/0aaa68b))
|
---|
668 | * update yargs-parser to version 3.1.0 ([#581](https://github.com/yargs/yargs/issues/581)) ([882a127](https://github.com/yargs/yargs/commit/882a127))
|
---|
669 |
|
---|
670 |
|
---|
671 | ### Performance Improvements
|
---|
672 |
|
---|
673 | * defer requiring most external libs until needed ([#584](https://github.com/yargs/yargs/issues/584)) ([f9b0ed4](https://github.com/yargs/yargs/commit/f9b0ed4))
|
---|
674 |
|
---|
675 |
|
---|
676 | ### BREAKING CHANGES
|
---|
677 |
|
---|
678 | * fail is now applied globally.
|
---|
679 | * we now default to an empty builder function when command is executed with no builder.
|
---|
680 | * yargs-parser now better handles negative integer values, at the cost of handling numeric option names, e.g., -1 hello
|
---|
681 | * default: removed undocumented `defaults` alias for `default`.
|
---|
682 | * introduces a default `help` command which outputs help, as an alternative to a help flag.
|
---|
683 | * interpret demand() numbers as relative to executing command ([#582](https://github.com/yargs/yargs/issues/582)) ([927810c](https://github.com/yargs/yargs/commit/927810c))
|
---|
684 |
|
---|
685 |
|
---|
686 |
|
---|
687 | <a name="4.8.1"></a>
|
---|
688 | ## [4.8.1](https://github.com/yargs/yargs/compare/v4.8.0...v4.8.1) (2016-07-16)
|
---|
689 |
|
---|
690 |
|
---|
691 | ### Bug Fixes
|
---|
692 |
|
---|
693 | * **commandDir:** make dir relative to caller instead of require.main.filename ([#548](https://github.com/yargs/yargs/issues/548)) ([3c2e479](https://github.com/yargs/yargs/commit/3c2e479))
|
---|
694 | * add config lookup for .implies() ([#556](https://github.com/yargs/yargs/issues/556)) ([8d7585c](https://github.com/yargs/yargs/commit/8d7585c))
|
---|
695 | * cache pkg lookups by path to avoid returning the wrong one ([#552](https://github.com/yargs/yargs/issues/552)) ([fea7e0b](https://github.com/yargs/yargs/commit/fea7e0b))
|
---|
696 | * positional arguments were not being handled appropriately by parse() ([#559](https://github.com/yargs/yargs/issues/559)) ([063a866](https://github.com/yargs/yargs/commit/063a866))
|
---|
697 | * pull in [@nexdrew](https://github.com/nexdrew)'s fixes to yargs-parser ([#560](https://github.com/yargs/yargs/issues/560)) ([c77c080](https://github.com/yargs/yargs/commit/c77c080)), closes [#560](https://github.com/yargs/yargs/issues/560)
|
---|
698 |
|
---|
699 |
|
---|
700 |
|
---|
701 | <a name="4.8.0"></a>
|
---|
702 | # [4.8.0](https://github.com/yargs/yargs/compare/v4.7.1...v4.8.0) (2016-07-09)
|
---|
703 |
|
---|
704 |
|
---|
705 | ### Bug Fixes
|
---|
706 |
|
---|
707 | * drop unused camelcase dependency fixes [#516](https://github.com/yargs/yargs/issues/516) ([#525](https://github.com/yargs/yargs/issues/525)) ([365fb9a](https://github.com/yargs/yargs/commit/365fb9a)), closes [#516](https://github.com/yargs/yargs/issues/516) [#525](https://github.com/yargs/yargs/issues/525)
|
---|
708 | * fake a tty in tests, so that we can use the new set-blocking ([#512](https://github.com/yargs/yargs/issues/512)) ([a54c742](https://github.com/yargs/yargs/commit/a54c742))
|
---|
709 | * ignore invalid package.json during read-pkg-up ([#546](https://github.com/yargs/yargs/issues/546)) ([e058c87](https://github.com/yargs/yargs/commit/e058c87))
|
---|
710 | * keep both zh and zh_CN until yargs[@5](https://github.com/5).x ([0f8faa7](https://github.com/yargs/yargs/commit/0f8faa7))
|
---|
711 | * lazy-load package.json and cache. get rid of pkg-conf dependency. ([#544](https://github.com/yargs/yargs/issues/544)) ([2609b2e](https://github.com/yargs/yargs/commit/2609b2e))
|
---|
712 | * we now respect the order of _ when applying commands ([#537](https://github.com/yargs/yargs/issues/537)) ([ed86b78](https://github.com/yargs/yargs/commit/ed86b78))
|
---|
713 |
|
---|
714 |
|
---|
715 | ### Features
|
---|
716 |
|
---|
717 | * add .commandDir(dir) to API to apply all command modules from a relative directory ([#494](https://github.com/yargs/yargs/issues/494)) ([b299dff](https://github.com/yargs/yargs/commit/b299dff))
|
---|
718 | * **command:** derive missing command string from module filename ([#527](https://github.com/yargs/yargs/issues/527)) ([20d4b8a](https://github.com/yargs/yargs/commit/20d4b8a))
|
---|
719 | * builder is now optional for a command module ([#545](https://github.com/yargs/yargs/issues/545)) ([8d6ad6e](https://github.com/yargs/yargs/commit/8d6ad6e))
|
---|
720 |
|
---|
721 |
|
---|
722 |
|
---|
723 | <a name="4.7.1"></a>
|
---|
724 | ## [4.7.1](https://github.com/yargs/yargs/compare/v4.7.0...v4.7.1) (2016-05-15)
|
---|
725 |
|
---|
726 |
|
---|
727 | ### Bug Fixes
|
---|
728 |
|
---|
729 | * switch to using `const` rather than `var` ([#499](https://github.com/yargs/yargs/pull/499))
|
---|
730 | * make stdout flush on newer versions of Node.js ([#501](https://github.com/yargs/yargs/issues/501)) ([9f8c6f4](https://github.com/yargs/yargs/commit/9f8c6f4))
|
---|
731 |
|
---|
732 |
|
---|
733 |
|
---|
734 | <a name="4.7.0"></a>
|
---|
735 | # [4.7.0](https://github.com/yargs/yargs/compare/v4.6.0...v4.7.0) (2016-05-02)
|
---|
736 |
|
---|
737 |
|
---|
738 | ### Bug Fixes
|
---|
739 |
|
---|
740 | * **pkgConf:** fix aliases issues in .pkgConf() ([#478](https://github.com/yargs/yargs/issues/478))([b900502](https://github.com/yargs/yargs/commit/b900502))
|
---|
741 |
|
---|
742 |
|
---|
743 | ### Features
|
---|
744 |
|
---|
745 | * **completion:** allow to get completions for any string, not just process.argv ([#470](https://github.com/yargs/yargs/issues/470))([74fcfbc](https://github.com/yargs/yargs/commit/74fcfbc))
|
---|
746 | * **configuration:** Allow to directly pass a configuration object to .config() ([#480](https://github.com/yargs/yargs/issues/480))([e0a7e05](https://github.com/yargs/yargs/commit/e0a7e05))
|
---|
747 | * **validation:** Add .skipValidation() method ([#471](https://github.com/yargs/yargs/issues/471))([d72badb](https://github.com/yargs/yargs/commit/d72badb))
|
---|
748 |
|
---|
749 |
|
---|
750 |
|
---|
751 | <a name="4.6.0"></a>
|
---|
752 | # [4.6.0](https://github.com/yargs/yargs/compare/v4.5.0...v4.6.0) (2016-04-11)
|
---|
753 |
|
---|
754 |
|
---|
755 | ### Bug Fixes
|
---|
756 |
|
---|
757 | * **my brand!:** I agree with [@osher](https://github.com/osher) lightweight isn't a huge selling point of ours any longer, see [#468](https://github.com/yargs/yargs/issues/468) ([c46d7e1](https://github.com/yargs/yargs/commit/c46d7e1))
|
---|
758 |
|
---|
759 | ### Features
|
---|
760 |
|
---|
761 | * switch to standard-version for release management ([f70f801](https://github.com/yargs/yargs/commit/f70f801))
|
---|
762 | * upgrade to version of yargs-parser that introduces some slick new features, great work [@elas7](https://github.com/elas7). update cliui, replace win-spawn, replace badge. ([#475](https://github.com/yargs/yargs/issues/475)) ([f915dd4](https://github.com/yargs/yargs/commit/f915dd4))
|
---|
763 |
|
---|
764 |
|
---|
765 |
|
---|
766 | <a name="4.5.0"></a>
|
---|
767 | # [4.5.0](https://github.com/yargs/yargs/compare/v4.4.0...v4.5.0) (2016-04-05)
|
---|
768 |
|
---|
769 |
|
---|
770 | ### Bug Fixes
|
---|
771 |
|
---|
772 | * **windows:** handle $0 better on Windows platforms ([eb6e03f](https://github.com/yargs/yargs/commit/eb6e03f))
|
---|
773 |
|
---|
774 | ### Features
|
---|
775 |
|
---|
776 | * **commands:** implemented variadic positional arguments ([51d926e](https://github.com/yargs/yargs/commit/51d926e))
|
---|
777 | * **completion:** completion now better handles aliases, and avoids duplicating keys. ([86416c8](https://github.com/yargs/yargs/commit/86416c8))
|
---|
778 | * **config:** If invoking .config() without parameters, set a default option ([0413dd1](https://github.com/yargs/yargs/commit/0413dd1))
|
---|
779 | * **conventional-changelog:** switching to using conventional-changelog for generating the changelog ([a2b5a2a](https://github.com/yargs/yargs/commit/a2b5a2a))
|
---|
780 |
|
---|
781 |
|
---|
782 |
|
---|
783 | ### v4.4.0 (2016/04/03 21:10 +07:00)
|
---|
784 |
|
---|
785 | - [#454](https://github.com/yargs/yargs/pull/454) fix demand() when second argument is an array (@elas7)
|
---|
786 | - [#452](https://github.com/yargs/yargs/pull/452) fix code example for `.help()` docs (@maxrimue)
|
---|
787 | - [#450](https://github.com/yargs/yargs/pull/450) fix for bash completion trailing space edge-case (@elas7)
|
---|
788 | - [#448](https://github.com/yargs/yargs/pull/448) allow a method to be passed to `showHelp`, rather than a log-level (@osher)
|
---|
789 | - [#446](https://github.com/yargs/yargs/pull/446) update yargs-parser, y18n, nyc, cliui, pkg-conf (@bcoe)
|
---|
790 | - [#436](https://github.com/yargs/yargs/pull/436) the rebase method is only used by tests, do not export it in two places (@elas7)
|
---|
791 | - [#428](https://github.com/yargs/yargs/pull/428) initial support for subcommands (@nexdrew)
|
---|
792 |
|
---|
793 | ### v4.3.2 (2016/3/20 15:07 +07:00)
|
---|
794 |
|
---|
795 | - [#445](https://github.com/yargs/yargs/pull/445) strict mode was failing if no commands were registered (@nexdrew)
|
---|
796 | - [#443](https://github.com/yargs/yargs/pull/443) adds Italian translation \o/ (@madrisan)
|
---|
797 | - [#441](https://github.com/yargs/yargs/pull/441) remove duplicate keys from array options configuration (@elas7)
|
---|
798 | - [#437](https://github.com/yargs/yargs/pull/437) standardize tests for .command() (@lrlna)
|
---|
799 |
|
---|
800 | ### v4.3.0 (2016/3/12 14:19 +07:00)
|
---|
801 |
|
---|
802 | - [#432](https://github.com/yargs/yargs/pull/432) non-singleton version of yargs (@bcoe)
|
---|
803 | - [#422, #425, #420] translations for number (@zkat, @rilut, @maxrimue, @watilde)
|
---|
804 | - [#414](https://github.com/yargs/yargs/pull/414) all command options can be defined in module now (@nexdrew)
|
---|
805 |
|
---|
806 | ### v4.2.0 (2016/2/22 11:02 +07:00)
|
---|
807 |
|
---|
808 | - [#395](https://github.com/yargs/yargs/pull/395) do not reset groups if they contain
|
---|
809 | global keys (@novemberborn)
|
---|
810 | - [#393](https://github.com/yargs/yargs/pull/393) use sane default for usage strings (@nexdrew)
|
---|
811 | - [#392](https://github.com/yargs/yargs/pull/392) resetting wrap() was causing layout issues
|
---|
812 | with commands (@nexdrew)
|
---|
813 | - [#391](https://github.com/yargs/yargs/pull/391) commands were being added multiple times (@nexdrew)
|
---|
814 |
|
---|
815 | ### v4.0.0 (2016/2/14 1:27 +07:00)
|
---|
816 |
|
---|
817 | - [#384](https://github.com/bcoe/yargs/pull/384) add new number type to yargs (@lrlna, @maxrimue)
|
---|
818 | - [#382](https://github.com/bcoe/yargs/pull/382) pass error as extra parameter to fail (@gajus)
|
---|
819 | - [#378](https://github.com/bcoe/yargs/pull/378) introduces the pkgConf feature, which tells
|
---|
820 | yargs to load default argument values from a key on a project's package.json (@bcoe)
|
---|
821 | - [#376](https://github.com/bcoe/yargs/pull/376) **breaking change**, make help() method signature
|
---|
822 | more consistent with other commands (@maxrimue)
|
---|
823 | - [#368](https://github.com/bcoe/yargs/pull/368) **breaking change**, overhaul to command handling API:
|
---|
824 | introducing named positional arguments, commands as modules, introduces the concept of global options (options that don't reset). (@nexdrew, @bcoe).
|
---|
825 | - [#364](https://github.com/bcoe/yargs/pull/364) add the slick new yargs website to the package.json (@iarna).
|
---|
826 | - [#357](https://github.com/bcoe/yargs/pull/357) .strict() now requires that a valid command is provided (@lrlna)
|
---|
827 | - [#356](https://github.com/bcoe/yargs/pull/356) pull the parsing bits of yargs into the separate module yargs-parser. Various parsing options can now be turned on and off using configuration (@bcoe).
|
---|
828 | - [#330](https://github.com/bcoe/yargs/pull/330) **breaking change**, fix inconsistencies with `.version()` API. (@maxrimue).
|
---|
829 |
|
---|
830 | ### v3.32.0 (2016/1/14 10:13 +07:00)
|
---|
831 |
|
---|
832 | - [#344](https://github.com/bcoe/yargs/pull/344) yargs now has a code of conduct and contributor guidelines (@bcoe)
|
---|
833 | - [#341](https://github.com/bcoe/yargs/issues/341) Fix edge-case with camel-case arguments (@davibe)
|
---|
834 | - [#331](https://github.com/bcoe/yargs/pull/331) Handle parsing a raw argument string (@kellyselden)
|
---|
835 | - [#325](https://github.com/bcoe/yargs/pull/325) Tweaks to make tests pass again on Windows (@isaacs)
|
---|
836 | - [#321](https://github.com/bcoe/yargs/pull/321) Custom config parsing function (@bcoe)
|
---|
837 |
|
---|
838 | ### v3.31.0 (2015/12/03 10:15 +07:00)
|
---|
839 |
|
---|
840 | - [#239](https://github.com/bcoe/yargs/pull/239) Pass argv to commands (@bcoe)
|
---|
841 | - [#308](https://github.com/bcoe/yargs/pull/308) Yargs now handles environment variables (@nexdrew)
|
---|
842 | - [#302](https://github.com/bcoe/yargs/pull/302) Add Indonesian translation (@rilut)
|
---|
843 | - [#300](https://github.com/bcoe/yargs/pull/300) Add Turkish translation (@feyzo)
|
---|
844 | - [#298](https://github.com/bcoe/yargs/pull/298) Add Norwegian Bokmål translation (@sindresorhus)
|
---|
845 | - [#297](https://github.com/bcoe/yargs/pull/297) Fix for layout of cjk characters (@disjukr)
|
---|
846 | - [#296](https://github.com/bcoe/yargs/pull/296) Add Korean translation (@disjukr)
|
---|
847 |
|
---|
848 | ### v3.30.0 (2015/11/13 16:29 +07:00)
|
---|
849 |
|
---|
850 | - [#293](https://github.com/bcoe/yargs/pull/293) Polish language support (@kamilogorek)
|
---|
851 | - [#291](https://github.com/bcoe/yargs/pull/291) fix edge-cases with `.alias()` (@bcoe)
|
---|
852 | - [#289](https://github.com/bcoe/yargs/pull/289) group options in custom groups (@bcoe)
|
---|
853 |
|
---|
854 | ### v3.29.0 (2015/10/16 21:51 +07:00)
|
---|
855 |
|
---|
856 | - [#282](https://github.com/bcoe/yargs/pull/282) completions now accept promises (@LinusU)
|
---|
857 | - [#281](https://github.com/bcoe/yargs/pull/281) fix parsing issues with dot notation (@bcoe)
|
---|
858 |
|
---|
859 | ### v3.28.0 (2015/10/16 1:55 +07:00)
|
---|
860 |
|
---|
861 | - [#277](https://github.com/bcoe/yargs/pull/277) adds support for ansi escape codes (@bcoe)
|
---|
862 |
|
---|
863 | ### v3.27.0 (2015/10/08 1:55 +00:00)
|
---|
864 |
|
---|
865 | - [#271](https://github.com/bcoe/yargs/pull/273) skips validation for help or version flags with exitProcess(false) (@tepez)
|
---|
866 | - [#273](https://github.com/bcoe/yargs/pull/273) implements single output for errors with exitProcess(false) (@nexdrew)
|
---|
867 | - [#269](https://github.com/bcoe/yargs/pull/269) verifies single output for errors with exitProcess(false) (@tepez)
|
---|
868 | - [#268](https://github.com/bcoe/yargs/pull/268) adds Chinese translation (@qiu8310)
|
---|
869 | - [#266](https://github.com/bcoe/yargs/pull/266) adds case for -- after -- in parser test (@geophree)
|
---|
870 |
|
---|
871 | ### v3.26.0 (2015/09/25 2:14 +00:00)
|
---|
872 |
|
---|
873 | - [#263](https://github.com/bcoe/yargs/pull/263) document count() and option() object keys (@nexdrew)
|
---|
874 | - [#259](https://github.com/bcoe/yargs/pull/259) remove util in readme (@38elements)
|
---|
875 | - [#258](https://github.com/bcoe/yargs/pull/258) node v4 builds, update deps (@nexdrew)
|
---|
876 | - [#257](https://github.com/bcoe/yargs/pull/257) fix spelling errors (@dkoleary88)
|
---|
877 |
|
---|
878 | ### v3.25.0 (2015/09/13 7:38 -07:00)
|
---|
879 |
|
---|
880 | - [#254](https://github.com/bcoe/yargs/pull/254) adds Japanese translation (@oti)
|
---|
881 | - [#253](https://github.com/bcoe/yargs/pull/253) fixes for tests on Windows (@bcoe)
|
---|
882 |
|
---|
883 | ### v3.24.0 (2015/09/04 12:02 +00:00)
|
---|
884 |
|
---|
885 | - [#248](https://github.com/bcoe/yargs/pull/248) reinstate os-locale, no spawning (@nexdrew)
|
---|
886 | - [#249](https://github.com/bcoe/yargs/pull/249) use travis container-based infrastructure (@nexdrew)
|
---|
887 | - [#247](https://github.com/bcoe/yargs/pull/247) upgrade standard (@nexdrew)
|
---|
888 |
|
---|
889 | ### v3.23.0 (2015/08/30 23:00 +00:00)
|
---|
890 |
|
---|
891 | - [#246](https://github.com/bcoe/yargs/pull/246) detect locale based only on environment variables (@bcoe)
|
---|
892 | - [#244](https://github.com/bcoe/yargs/pull/244) adds Windows CI testing (@bcoe)
|
---|
893 | - [#245](https://github.com/bcoe/yargs/pull/245) adds OSX CI testing (@bcoe, @nexdrew)
|
---|
894 |
|
---|
895 | ### v3.22.0 (2015/08/28 22:26 +00:00)
|
---|
896 | - [#242](https://github.com/bcoe/yargs/pull/242) adds detectLocale config option (@bcoe)
|
---|
897 |
|
---|
898 | ### v3.21.1 (2015/08/28 20:58 +00:00)
|
---|
899 | - [#240](https://github.com/bcoe/yargs/pull/240) hot-fix for Atom on Windows (@bcoe)
|
---|
900 |
|
---|
901 | ### v3.21.0 (2015/08/21 21:20 +00:00)
|
---|
902 | - [#238](https://github.com/bcoe/yargs/pull/238) upgrade camelcase, window-size, chai, mocha (@nexdrew)
|
---|
903 | - [#237](https://github.com/bcoe/yargs/pull/237) adds defaultDescription to option() (@nexdrew)
|
---|
904 |
|
---|
905 | ### v3.20.0 (2015/08/20 01:29 +00:00)
|
---|
906 | - [#231](https://github.com/bcoe/yargs/pull/231) Merge pull request #231 from bcoe/detect-locale (@sindresorhus)
|
---|
907 | - [#235](https://github.com/bcoe/yargs/pull/235) adds german translation to yargs (@maxrimue)
|
---|
908 |
|
---|
909 | ### v3.19.0 (2015/08/14 05:12 +00:00)
|
---|
910 | - [#224](https://github.com/bcoe/yargs/pull/224) added Portuguese translation (@codemonkey3045)
|
---|
911 |
|
---|
912 | ### v3.18.1 (2015/08/12 05:53 +00:00)
|
---|
913 |
|
---|
914 | - [#228](https://github.com/bcoe/yargs/pull/228) notes about embedding yargs in Electron (@etiktin)
|
---|
915 | - [#223](https://github.com/bcoe/yargs/pull/223) make booleans work in config files (@sgentle)
|
---|
916 |
|
---|
917 | ### v3.18.0 (2015/08/06 20:05 +00:00)
|
---|
918 | - [#222](https://github.com/bcoe/yargs/pull/222) updates fr locale (@nexdrew)
|
---|
919 | - [#221](https://github.com/bcoe/yargs/pull/221) adds missing locale strings (@nexdrew)
|
---|
920 | - [#220](https://github.com/bcoe/yargs/pull/220) adds es locale (@zkat)
|
---|
921 |
|
---|
922 | ### v3.17.1 (2015/08/02 19:35 +00:00)
|
---|
923 | - [#218](https://github.com/bcoe/yargs/pull/218) upgrades nyc (@bcoe)
|
---|
924 |
|
---|
925 | ### v3.17.0 (2015/08/02 18:39 +00:00)
|
---|
926 | - [#217](https://github.com/bcoe/yargs/pull/217) sort methods in README.md (@nexdrew)
|
---|
927 | - [#215](https://github.com/bcoe/yargs/pull/215) adds fr locale (@LoicMahieu)
|
---|
928 |
|
---|
929 | ### v3.16.0 (2015/07/30 04:35 +00:00)
|
---|
930 | - [#210](https://github.com/bcoe/yargs/pull/210) adds i18n support to yargs (@bcoe)
|
---|
931 | - [#209](https://github.com/bcoe/yargs/pull/209) adds choices type to yargs (@nexdrew)
|
---|
932 | - [#207](https://github.com/bcoe/yargs/pull/207) pretty new shields from shields.io (@SimenB)
|
---|
933 | - [#208](https://github.com/bcoe/yargs/pull/208) improvements to README.md (@nexdrew)
|
---|
934 | - [#205](https://github.com/bcoe/yargs/pull/205) faster build times on Travis (@ChristianMurphy)
|
---|
935 |
|
---|
936 | ### v3.15.0 (2015/07/06 06:01 +00:00)
|
---|
937 | - [#197](https://github.com/bcoe/yargs/pull/197) tweaks to how errors bubble up from parser.js (@bcoe)
|
---|
938 | - [#193](https://github.com/bcoe/yargs/pull/193) upgraded nyc, reporting now happens by default (@bcoe)
|
---|
939 |
|
---|
940 | ### v3.14.0 (2015/06/28 02:12 +00:00)
|
---|
941 |
|
---|
942 | - [#192](https://github.com/bcoe/yargs/pull/192) standard style nits (@bcoe)
|
---|
943 | - [#190](https://github.com/bcoe/yargs/pull/190) allow for hidden commands, e.g.,
|
---|
944 | .completion('completion', false) (@tschaub)
|
---|
945 |
|
---|
946 | ### v3.13.0 (2015/06/24 04:12 +00:00)
|
---|
947 |
|
---|
948 | - [#187](https://github.com/bcoe/yargs/pull/187) completion now behaves differently
|
---|
949 | if it is being run in the context of a command (@tschaub)
|
---|
950 | - [#186](https://github.com/bcoe/yargs/pull/186) if no matches are found for a completion
|
---|
951 | default to filename completion (@tschaub)
|
---|
952 |
|
---|
953 | ### v3.12.0 (2015/06/19 03:23 +00:00)
|
---|
954 | - [#183](https://github.com/bcoe/yargs/pull/183) don't complete commands if they've already been completed (@tschaub)
|
---|
955 | - [#181](https://github.com/bcoe/yargs/pull/181) various fixes for completion. (@bcoe, @tschaub)
|
---|
956 | - [#182](https://github.com/bcoe/yargs/pull/182) you can now set a maximum # of of required arguments (@bcoe)
|
---|
957 |
|
---|
958 | ### v3.11.0 (2015/06/15 05:15 +00:00)
|
---|
959 |
|
---|
960 | - [#173](https://github.com/bcoe/yargs/pull/173) update standard, window-size, chai (@bcoe)
|
---|
961 | - [#171](https://github.com/bcoe/yargs/pull/171) a description can now be set
|
---|
962 | when providing a config option. (@5c077yP)
|
---|
963 |
|
---|
964 | ### v3.10.0 (2015/05/29 04:25 +00:00)
|
---|
965 |
|
---|
966 | - [#165](https://github.com/bcoe/yargs/pull/165) expose yargs.terminalWidth() thanks @ensonic (@bcoe)
|
---|
967 | - [#164](https://github.com/bcoe/yargs/pull/164) better array handling thanks @getify (@bcoe)
|
---|
968 |
|
---|
969 | ### v3.9.1 (2015/05/20 05:14 +00:00)
|
---|
970 | - [b6662b6](https://github.com/bcoe/yargs/commit/b6662b6774cfeab4876f41ec5e2f67b7698f4e2f) clarify .config() docs (@linclark)
|
---|
971 | - [0291360](https://github.com/bcoe/yargs/commit/02913606285ce31ce81d7f12c48d8a3029776ec7) fixed tests, switched to nyc for coverage, fixed security issue, added Lin as collaborator (@bcoe)
|
---|
972 |
|
---|
973 | ### v3.9.0 (2015/05/10 18:32 +00:00)
|
---|
974 | - [#157](https://github.com/bcoe/yargs/pull/157) Merge pull request #157 from bcoe/command-yargs. allows handling of command specific arguments. Thanks for the suggestion @ohjames (@bcoe)
|
---|
975 | - [#158](https://github.com/bcoe/yargs/pull/158) Merge pull request #158 from kemitchell/spdx-license. Update license format (@kemitchell)
|
---|
976 |
|
---|
977 | ### v3.8.0 (2015/04/24 23:10 +00:00)
|
---|
978 | - [#154](https://github.com/bcoe/yargs/pull/154) showHelp's method signature was misleading fixes #153 (@bcoe)
|
---|
979 | - [#151](https://github.com/bcoe/yargs/pull/151) refactor yargs' table layout logic to use new helper library (@bcoe)
|
---|
980 | - [#150](https://github.com/bcoe/yargs/pull/150) Fix README example in argument requirements (@annonymouse)
|
---|
981 |
|
---|
982 | ### v3.7.2 (2015/04/13 11:52 -07:00)
|
---|
983 |
|
---|
984 | * [679fbbf](https://github.com/bcoe/yargs/commit/679fbbf55904030ccee8a2635e8e5f46551ab2f0) updated yargs to use the [standard](https://github.com/feross/standard) style guide (agokjr)
|
---|
985 | * [22382ee](https://github.com/bcoe/yargs/commit/22382ee9f5b495bc2586c1758cd1091cec3647f9 various bug fixes for $0 (@nylen)
|
---|
986 |
|
---|
987 | ### v3.7.1 (2015/04/10 11:06 -07:00)
|
---|
988 |
|
---|
989 | * [89e1992](https://github.com/bcoe/yargs/commit/89e1992a004ba73609b5f9ee6890c4060857aba4) detect iojs bin along with node bin. (@bcoe)
|
---|
990 | * [755509e](https://github.com/bcoe/yargs/commit/755509ea90041e5f7833bba3b8c5deffe56f0aab) improvements to example documentation in README.md (@rstacruz)
|
---|
991 | * [0d2dfc8](https://github.com/bcoe/yargs/commit/0d2dfc822a43418242908ad97ddd5291a1b35dc6) showHelp() no longer requires that .argv has been called (@bcoe)
|
---|
992 |
|
---|
993 | ### v3.7.0 (2015/04/04 02:29 -07:00)
|
---|
994 |
|
---|
995 | * [56cbe2d](https://github.com/bcoe/yargs/commit/56cbe2ddd33dc176dcbf97ba40559864a9f114e4) make .requiresArg() work with type hints. (@bcoe).
|
---|
996 | * [2f5d562](https://github.com/bcoe/yargs/commit/2f5d5624f736741deeedf6a664d57bc4d857bdd0) serialize arrays and objects in usage strings. (@bcoe).
|
---|
997 | * [5126304](https://github.com/bcoe/yargs/commit/5126304dd18351fc28f10530616fdd9361e0af98) be more lenient about alias/primary key ordering in chaining API. (@bcoe)
|
---|
998 |
|
---|
999 | ### v3.6.0 (2015/03/21 01:00 +00:00)
|
---|
1000 | - [4e24e22](https://github.com/bcoe/yargs/commit/4e24e22e6a195e55ab943ede704a0231ac33b99c) support for .js configuration files. (@pirxpilot)
|
---|
1001 |
|
---|
1002 | ### v3.5.4 (2015/03/12 05:56 +00:00)
|
---|
1003 | - [c16cc08](https://github.com/bcoe/yargs/commit/c16cc085501155cf7fd853ccdf8584b05ab92b78) message for non-option arguments is now optional, thanks to (@raine)
|
---|
1004 |
|
---|
1005 | ### v3.5.3 (2015/03/09 06:14 +00:00)
|
---|
1006 | - [870b428](https://github.com/bcoe/yargs/commit/870b428cf515d560926ca392555b7ad57dba9e3d) completion script was missing in package.json (@bcoe)
|
---|
1007 |
|
---|
1008 | ### v3.5.2 (2015/03/09 06:11 +00:00)
|
---|
1009 | - [58a4b24](https://github.com/bcoe/yargs/commit/58a4b2473ebbb326713d522be53e32d3aabb08d2) parse was being called multiple times, resulting in strange behavior (@bcoe)
|
---|
1010 |
|
---|
1011 | ### v3.5.1 (2015/03/09 04:55 +00:00)
|
---|
1012 | - [4e588e0](https://github.com/bcoe/yargs/commit/4e588e055afbeb9336533095f051496e3977f515) accidentally left testing logic in (@bcoe)
|
---|
1013 |
|
---|
1014 | ### v3.5.0 (2015/03/09 04:49 +00:00)
|
---|
1015 | - [718bacd](https://github.com/bcoe/yargs/commit/718bacd81b9b44f786af76b2afe491fe06274f19) added support for bash completions see #4 (@bcoe)
|
---|
1016 | - [a192882](https://github.com/bcoe/yargs/commit/a19288270fc431396c42af01125eeb4443664528) downgrade to mocha 2.1.0 until https://github.com/mochajs/mocha/issues/1585 can be sorted out (@bcoe)
|
---|
1017 |
|
---|
1018 | ### v3.4.7 (2015/03/09 04:09 +00:00)
|
---|
1019 | - [9845e5c](https://github.com/bcoe/yargs/commit/9845e5c1a9c684ba0be3f0bfb40e7b62ab49d9c8) the Argv singleton was not being updated when manually parsing arguments, fixes #114 (@bcoe)
|
---|
1020 |
|
---|
1021 | ### v3.4.6 (2015/03/09 04:01 +00:00)
|
---|
1022 | - [45b4c80](https://github.com/bcoe/yargs/commit/45b4c80b890d02770b0a94f326695a8a566e8fe9) set placeholders for all keys fixes #115 (@bcoe)
|
---|
1023 |
|
---|
1024 | ### v3.4.5 (2015/03/01 20:31 +00:00)
|
---|
1025 | - [a758e0b](https://github.com/bcoe/yargs/commit/a758e0b2556184f067cf3d9c4ef886d39817ebd2) fix for count consuming too many arguments (@bcoe)
|
---|
1026 |
|
---|
1027 | ### v3.4.4 (2015/02/28 04:52 +00:00)
|
---|
1028 | - [0476af7](https://github.com/bcoe/yargs/commit/0476af757966acf980d998b45108221d4888cfcb) added nargs feature, allowing you to specify the number of arguments after an option (@bcoe)
|
---|
1029 | - [092477d](https://github.com/bcoe/yargs/commit/092477d7ab3efbf0ba11cede57f7d8cfc70b024f) updated README with full example of v3.0 API (@bcoe)
|
---|
1030 |
|
---|
1031 | ### v3.3.3 (2015/02/28 04:23 +00:00)
|
---|
1032 | - [0c4b769](https://github.com/bcoe/yargs/commit/0c4b769516cd8d93a7c4e5e675628ae0049aa9a8) remove string dependency, which conflicted with other libraries see #106 (@bcoe)
|
---|
1033 |
|
---|
1034 | ### v3.3.2 (2015/02/28 04:11 +00:00)
|
---|
1035 | - [2a98906](https://github.com/bcoe/yargs/commit/2a9890675821c0e7a12f146ce008b0562cb8ec9a) add $0 to epilog (@schnittstabil)
|
---|
1036 |
|
---|
1037 | ### v3.3.1 (2015/02/24 03:28 +00:00)
|
---|
1038 | - [ad485ce](https://github.com/bcoe/yargs/commit/ad485ce748ebdfce25b88ef9d6e83d97a2f68987) fix for applying defaults to camel-case args (@bcoe)
|
---|
1039 |
|
---|
1040 | ### v3.3.0 (2015/02/24 00:49 +00:00)
|
---|
1041 | - [8bfe36d](https://github.com/bcoe/yargs/commit/8bfe36d7fb0f93a799ea3f4c756a7467c320f8c0) fix and document restart() command, as a tool for building nested CLIs (@bcoe)
|
---|
1042 |
|
---|
1043 | ### v3.2.1 (2015/02/22 05:45 +00:00)
|
---|
1044 | - [49a6d18](https://github.com/bcoe/yargs/commit/49a6d1822a4ef9b1ea6f90cc366be60912628885) you can now provide a function that generates a default value (@bcoe)
|
---|
1045 |
|
---|
1046 | ### v3.2.0 (2015/02/22 05:24 +00:00)
|
---|
1047 | - [7a55886](https://github.com/bcoe/yargs/commit/7a55886c9343cf71a20744ca5cdd56d2ea7412d5) improvements to yargs two-column text layout (@bcoe)
|
---|
1048 | - [b6ab513](https://github.com/bcoe/yargs/commit/b6ab5136a4c3fa6aa496f6b6360382e403183989) Tweak NPM version badge (@nylen)
|
---|
1049 |
|
---|
1050 | ### v3.1.0 (2015/02/19 19:37 +00:00)
|
---|
1051 | - [9bd2379](https://github.com/bcoe/yargs/commit/9bd237921cf1b61fd9f32c0e6d23f572fc225861) version now accepts a function, making it easy to load version #s from a package.json (@bcoe)
|
---|
1052 |
|
---|
1053 | ### v3.0.4 (2015/02/14 01:40 +00:00)
|
---|
1054 | - [0b7c19b](https://github.com/bcoe/yargs/commit/0b7c19beaecb747267ca4cc10e5cb2a8550bc4b7) various fixes for dot-notation handling (@bcoe)
|
---|
1055 |
|
---|
1056 | ### v3.0.3 (2015/02/14 00:59 +00:00)
|
---|
1057 | - [c3f35e9](https://github.com/bcoe/yargs/commit/c3f35e99bd5a0d278073fcadd95e2d778616cc17) make sure dot-notation is applied to aliases (@bcoe)
|
---|
1058 |
|
---|
1059 | ### 3.0.2 (2015/02/13 16:50 +00:00)
|
---|
1060 | - [74c8967](https://github.com/bcoe/yargs/commit/74c8967c340c204a0a7edf8a702b6f46c2705435) document epilog shorthand of epilogue. (@bcoe)
|
---|
1061 | - [670110f](https://github.com/bcoe/yargs/commit/670110fc01bedc4831b6fec6afac54517d5a71bc) any non-truthy value now causes check to fail see #76 (@bcoe)
|
---|
1062 | - [0d8f791](https://github.com/bcoe/yargs/commit/0d8f791a33c11ced4cd431ea8d3d3a337d456b56) finished implementing my wish-list of fetures for yargs 3.0. see #88 (@bcoe)
|
---|
1063 | - [5768447](https://github.com/bcoe/yargs/commit/5768447447c4c8e8304f178846206ce86540f063) fix coverage. (@bcoe)
|
---|
1064 | - [82e793f](https://github.com/bcoe/yargs/commit/82e793f3f61c41259eaacb67f0796aea2cf2aaa0) detect console width and perform word-wrapping. (@bcoe)
|
---|
1065 | - [67476b3](https://github.com/bcoe/yargs/commit/67476b37eea07fee55f23f35b9e0c7d76682b86d) refactor two-column table layout so that we can use it for examples and usage (@bcoe)
|
---|
1066 | - [4724cdf](https://github.com/bcoe/yargs/commit/4724cdfcc8e37ae1ca3dcce9d762f476e9ef4bb4) major refactor of index.js, in prep for 3.x release. (@bcoe)
|
---|
1067 |
|
---|
1068 | ### v2.3.0 (2015/02/08 20:41 +00:00)
|
---|
1069 | - [d824620](https://github.com/bcoe/yargs/commit/d824620493df4e63664af1fe320764dd1a9244e6) allow for undefined boolean defaults (@ashi009)
|
---|
1070 |
|
---|
1071 | ### v2.2.0 (2015/02/08 20:07 +00:00)
|
---|
1072 | - [d6edd98](https://github.com/bcoe/yargs/commit/d6edd9848826e7389ed1393858c45d03961365fd) in-prep for further refactoring, and a 3.x release I've shuffled some things around and gotten test-coverage to 100%. (@bcoe)
|
---|
1073 |
|
---|
1074 | ### v2.1.2 (2015/02/08 06:05 +00:00)
|
---|
1075 | - [d640745](https://github.com/bcoe/yargs/commit/d640745a7b9f8d476e0223879d056d18d9c265c4) switch to path.relative (@bcoe)
|
---|
1076 | - [3bfd41f](https://github.com/bcoe/yargs/commit/3bfd41ff262a041f29d828b88936a79c63cad594) remove mocha.opts. (@bcoe)
|
---|
1077 | - [47a2f35](https://github.com/bcoe/yargs/commit/47a2f357091db70903a402d6765501c1d63f15fe) document using .string('_') for string ids. see #56 (@bcoe)
|
---|
1078 | - [#57](https://github.com/bcoe/yargs/pull/57) Merge pull request #57 from eush77/option-readme (@eush77)
|
---|
1079 |
|
---|
1080 | ### v2.1.1 (2015/02/06 08:08 +00:00)
|
---|
1081 | - [01c6c61](https://github.com/bcoe/yargs/commit/01c6c61d67b4ebf88f41f0b32a345ec67f0ac17d) fix for #71, 'newAliases' of undefined (@bcoe)
|
---|
1082 |
|
---|
1083 | ### v2.1.0 (2015/02/06 07:59 +00:00)
|
---|
1084 | - [6a1a3fa](https://github.com/bcoe/yargs/commit/6a1a3fa731958e26ccd56885f183dd8985cc828f) try to guess argument types, and apply sensible defaults see #73 (@bcoe)
|
---|
1085 |
|
---|
1086 | ### v2.0.1 (2015/02/06 07:54 +00:00)
|
---|
1087 | - [96a06b2](https://github.com/bcoe/yargs/commit/96a06b2650ff1d085a52b7328d8bba614c20cc12) Fix for strange behavior with --sort option, see #51 (@bcoe)
|
---|
1088 |
|
---|
1089 | ### v2.0.0 (2015/02/06 07:45 +00:00)
|
---|
1090 | - [0250517](https://github.com/bcoe/yargs/commit/0250517c9643e53f431b824e8ccfa54937414011) - [108fb84](https://github.com/bcoe/yargs/commit/108fb8409a3a63dcaf99d917fe4dfcfaa1de236d) fixed bug with boolean parsing, when bools separated by = see #66 (@bcoe)
|
---|
1091 | - [a465a59](https://github.com/bcoe/yargs/commit/a465a5915f912715738de890982e4f8395958b10) Add `files` field to the package.json (@shinnn)
|
---|
1092 | - [31043de](https://github.com/bcoe/yargs/commit/31043de7a38a17c4c97711f1099f5fb164334db3) fix for yargs.argv having the same keys added multiple times see #63 (@bcoe)
|
---|
1093 | - [2d68c5b](https://github.com/bcoe/yargs/commit/2d68c5b91c976431001c4863ce47c9297850f1ad) Disable process.exit calls using .exitProcess(false) (@cianclarke)
|
---|
1094 | - [45da9ec](https://github.com/bcoe/yargs/commit/45da9ec4c55a7bd394721bc6a1db0dabad7bc52a) Mention .option in README (@eush77)
|
---|
1095 |
|
---|
1096 | ### v1.3.2 (2014/10/06 21:56 +00:00)
|
---|
1097 | - [b8d3472](https://github.com/bcoe/yargs/commit/b8d34725482e5821a3cc809c0df71378f282f526) 1.3.2 (@chevex)
|
---|
1098 |
|
---|
1099 | ### list (2014/08/30 18:41 +00:00)
|
---|
1100 | - [fbc777f](https://github.com/bcoe/yargs/commit/fbc777f416eeefd37c84e44d27d7dfc7c1925721) Now that yargs is the successor to optimist, I'm changing the README language to be more universal. Pirate speak isn't very accessible to non-native speakers. (@chevex)
|
---|
1101 | - [a54d068](https://github.com/bcoe/yargs/commit/a54d0682ae2efc2394d407ab171cc8a8bbd135ea) version output will not print extra newline (@boneskull)
|
---|
1102 | - [1cef5d6](https://github.com/bcoe/yargs/commit/1cef5d62a9d6d61a3948a49574892e01932cc6ae) Added contributors section to package.json (@chrisn)
|
---|
1103 | - [cc295c0](https://github.com/bcoe/yargs/commit/cc295c0a80a2de267e0155b60d315fc4b6f7c709) Added 'require' and 'required' as synonyms for 'demand' (@chrisn)
|
---|
1104 | - [d0bf951](https://github.com/bcoe/yargs/commit/d0bf951d949066b6280101ed606593d079ee15c8) Updating minimist. (@chevex)
|
---|
1105 | - [c15f8e7](https://github.com/bcoe/yargs/commit/c15f8e7f245b261e542cf205ce4f4313630cbdb4) Fix #31 (bad interaction between camelCase options and strict mode) (@nylen)
|
---|
1106 | - [d991b9b](https://github.com/bcoe/yargs/commit/d991b9be687a68812dee1e3b185ba64b7778b82d) Added .help() and .version() methods (@chrisn)
|
---|
1107 | - [e8c8aa4](https://github.com/bcoe/yargs/commit/e8c8aa46268379357cb11e9fc34b8c403037724b) Added .showHelpOnFail() method (@chrisn)
|
---|
1108 | - [e855af4](https://github.com/bcoe/yargs/commit/e855af4a933ea966b5bbdd3c4c6397a4bac1a053) Allow boolean flag with .demand() (@chrisn)
|
---|
1109 | - [14dbec2](https://github.com/bcoe/yargs/commit/14dbec24fb7380683198e2b20c4deb8423e64bea) Fixes issue #22. Arguments are no longer printed to the console when using .config. (@chevex)
|
---|
1110 | - [bef74fc](https://github.com/bcoe/yargs/commit/bef74fcddc1544598a804f80d0a3728459f196bf) Informing users that Yargs is the official optimist successor. (@chevex)
|
---|
1111 | - [#24](https://github.com/bcoe/yargs/pull/24) Merge pull request #24 from chrisn/strict (@chrisn)
|
---|
1112 | - [889a2b2](https://github.com/bcoe/yargs/commit/889a2b28eb9768801b05163360a470d0fd6c8b79) Added requiresArg option, for options that require values (@chrisn)
|
---|
1113 | - [eb16369](https://github.com/bcoe/yargs/commit/eb163692262be1fe80b992fd8803d5923c5a9b18) Added .strict() method, to report error if unknown arguments are given (@chrisn)
|
---|
1114 | - [0471c3f](https://github.com/bcoe/yargs/commit/0471c3fd999e1ad4e6cded88b8aa02013b66d14f) Changed optimist to yargs in usage-options.js example (@chrisn)
|
---|
1115 | - [5c88f74](https://github.com/bcoe/yargs/commit/5c88f74e3cf031b17c54b4b6606c83e485ff520e) Change optimist to yargs in examples (@chrisn)
|
---|
1116 | - [66f12c8](https://github.com/bcoe/yargs/commit/66f12c82ba3c943e4de8ca862980e835da8ecb3a) Fix a couple of bad interactions between aliases and defaults (@nylen)
|
---|
1117 | - [8fa1d80](https://github.com/bcoe/yargs/commit/8fa1d80f14b03eb1f2898863a61f1d1615bceb50) Document second argument of usage(message, opts) (@Gobie)
|
---|
1118 | - [56e6528](https://github.com/bcoe/yargs/commit/56e6528cf674ff70d63083fb044ff240f608448e) For "--some-option", also set argv.someOption (@nylen)
|
---|
1119 | - [ed5f6d3](https://github.com/bcoe/yargs/commit/ed5f6d33f57ad1086b11c91b51100f7c6c7fa8ee) Finished porting unit tests to Mocha. (@chevex)
|
---|
1120 |
|
---|
1121 | ### v1.0.15 (2014/02/05 23:18 +00:00)
|
---|
1122 | - [e2b1fc0](https://github.com/bcoe/yargs/commit/e2b1fc0c4a59cf532ae9b01b275e1ef57eeb64d2) 1.0.15 update to badges (@chevex)
|
---|
1123 |
|
---|
1124 | ### v1.0.14 (2014/02/05 23:17 +00:00)
|
---|
1125 | - [f33bbb0](https://github.com/bcoe/yargs/commit/f33bbb0f00fe18960f849cc8e15a7428a4cd59b8) Revert "Fixed issue which caused .demand function not to work correctly." (@chevex)
|
---|
1126 |
|
---|
1127 | ### v1.0.13 (2014/02/05 22:13 +00:00)
|
---|
1128 | - [6509e5e](https://github.com/bcoe/yargs/commit/6509e5e7dee6ef1a1f60eea104be0faa1a045075) Fixed issue which caused .demand function not to work correctly. (@chevex)
|
---|
1129 |
|
---|
1130 | ### v1.0.12 (2013/12/13 00:09 +00:00)
|
---|
1131 | - [05eb267](https://github.com/bcoe/yargs/commit/05eb26741c9ce446b33ff006e5d33221f53eaceb) 1.0.12 (@chevex)
|
---|
1132 |
|
---|
1133 | ### v1.0.11 (2013/12/13 00:07 +00:00)
|
---|
1134 | - [c1bde46](https://github.com/bcoe/yargs/commit/c1bde46e37318a68b87d17a50c130c861d6ce4a9) 1.0.11 (@chevex)
|
---|
1135 |
|
---|
1136 | ### v1.0.10 (2013/12/12 23:57 +00:00)
|
---|
1137 | - [dfebf81](https://github.com/bcoe/yargs/commit/dfebf8164c25c650701528ee581ca483a99dc21c) Fixed formatting in README (@chevex)
|
---|
1138 |
|
---|
1139 | ### v1.0.9 (2013/12/12 23:47 +00:00)
|
---|
1140 | - [0b4e34a](https://github.com/bcoe/yargs/commit/0b4e34af5e6d84a9dbb3bb6d02cd87588031c182) Update README.md (@chevex)
|
---|
1141 |
|
---|
1142 | ### v1.0.8 (2013/12/06 16:36 +00:00)
|
---|
1143 | - [#1](https://github.com/bcoe/yargs/pull/1) fix error caused by check() see #1 (@martinheidegger)
|
---|
1144 |
|
---|
1145 | ### v1.0.7 (2013/11/24 18:01 +00:00)
|
---|
1146 | - [a247d88](https://github.com/bcoe/yargs/commit/a247d88d6e46644cbb7303c18b1bb678fc132d72) Modified Pirate Joe image. (@chevex)
|
---|
1147 |
|
---|
1148 | ### v1.0.6 (2013/11/23 19:21 +00:00)
|
---|
1149 | - [d7f69e1](https://github.com/bcoe/yargs/commit/d7f69e1d34bc929736a8bdccdc724583e21b7eab) Updated Pirate Joe image. (@chevex)
|
---|
1150 |
|
---|
1151 | ### v1.0.5 (2013/11/23 19:09 +00:00)
|
---|
1152 | - [ece809c](https://github.com/bcoe/yargs/commit/ece809cf317cc659175e1d66d87f3ca68c2760be) Updated readme notice again. (@chevex)
|
---|
1153 |
|
---|
1154 | ### v1.0.4 (2013/11/23 19:05 +00:00)
|
---|
1155 | - [9e81e81](https://github.com/bcoe/yargs/commit/9e81e81654028f83ba86ffc3ac772a0476084e5e) Updated README with a notice about yargs being a fork of optimist and what that implies. (@chevex)
|
---|
1156 |
|
---|
1157 | ### v1.0.3 (2013/11/23 17:43 +00:00)
|
---|
1158 | - [65e7a78](https://github.com/bcoe/yargs/commit/65e7a782c86764944d63d084416aba9ee6019c5f) Changed some small wording in README.md. (@chevex)
|
---|
1159 | - [459e20e](https://github.com/bcoe/yargs/commit/459e20e539b366b85128dd281ccd42221e96c7da) Fix a bug in the options function, when string and boolean options weren't applied to aliases. (@shockone)
|
---|
1160 |
|
---|
1161 | ### v1.0.2 (2013/11/23 09:46 +00:00)
|
---|
1162 | - [3d80ebe](https://github.com/bcoe/yargs/commit/3d80ebed866d3799224b6f7d596247186a3898a9) 1.0.2 (@chevex)
|
---|
1163 |
|
---|
1164 | ### v1.0.1 (2013/11/23 09:39 +00:00)
|
---|
1165 | - [f80ff36](https://github.com/bcoe/yargs/commit/f80ff3642d580d4b68bf9f5a94277481bd027142) Updated image. (@chevex)
|
---|
1166 |
|
---|
1167 | ### v1.0.0 (2013/11/23 09:33 +00:00)
|
---|
1168 | - [54e31d5](https://github.com/bcoe/yargs/commit/54e31d505f820b80af13644e460894b320bf25a3) Rebranded from optimist to yargs in the spirit of the fork :D (@chevex)
|
---|
1169 | - [4ebb6c5](https://github.com/bcoe/yargs/commit/4ebb6c59f44787db7c24c5b8fe2680f01a23f498) Added documentation for demandCount(). (@chevex)
|
---|
1170 | - [4561ce6](https://github.com/bcoe/yargs/commit/4561ce66dcffa95f49e8b4449b25b94cd68acb25) Simplified the error messages returned by .check(). (@chevex)
|
---|
1171 | - [661c678](https://github.com/bcoe/yargs/commit/661c67886f479b16254a830b7e1db3be29e6b7a6) Fixed an issue with demand not accepting a zero value. (@chevex)
|
---|
1172 | - [731dd3c](https://github.com/bcoe/yargs/commit/731dd3c37624790490bd6df4d5f1da8f4348279e) Add .fail(fn) so death isn't the only option. Should fix issue #39. (@chevex)
|
---|
1173 | - [fa15417](https://github.com/bcoe/yargs/commit/fa15417ff9e70dace0d726627a5818654824c1d8) Added a few missing 'return self' (@chevex)
|
---|
1174 | - [e655e4d](https://github.com/bcoe/yargs/commit/e655e4d99d1ae1d3695ef755d51c2de08d669761) Fix showing help in certain JS environments. (@chevex)
|
---|
1175 | - [a746a31](https://github.com/bcoe/yargs/commit/a746a31cd47c87327028e6ea33762d6187ec5c87) Better string representation of default values. (@chevex)
|
---|
1176 | - [6134619](https://github.com/bcoe/yargs/commit/6134619a7e90b911d5443230b644c5d447c1a68c) Implies: conditional demands (@chevex)
|
---|
1177 | - [046b93b](https://github.com/bcoe/yargs/commit/046b93b5d40a27367af4cb29726e4d781d934639) Added support for JSON config files. (@chevex)
|
---|
1178 | - [a677ec0](https://github.com/bcoe/yargs/commit/a677ec0a0ecccd99c75e571d03323f950688da03) Add .example(cmd, desc) feature. (@chevex)
|
---|
1179 | - [1bd4375](https://github.com/bcoe/yargs/commit/1bd4375e11327ba1687d4bb6e5e9f3c30c1be2af) Added 'defaults' as alias to 'default' so as to avoid usage of a reserved keyword. (@chevex)
|
---|
1180 | - [6b753c1](https://github.com/bcoe/yargs/commit/6b753c16ca09e723060e70b773b430323b29c45c) add .normalize(args..) support for normalizing paths (@chevex)
|
---|
1181 | - [33d7d59](https://github.com/bcoe/yargs/commit/33d7d59341d364f03d3a25f0a55cb99004dbbe4b) Customize error messages with demand(key, msg) (@chevex)
|
---|
1182 | - [647d37f](https://github.com/bcoe/yargs/commit/647d37f164c20f4bafbf67dd9db6cd6e2cd3b49f) Merge branch 'rewrite-duplicate-test' of github.com:isbadawi/node-optimist (@chevex)
|
---|
1183 | - [9059d1a](https://github.com/bcoe/yargs/commit/9059d1ad5e8aea686c2a01c89a23efdf929fff2e) Pass aliases object to check functions for greater versatility. (@chevex)
|
---|
1184 | - [623dc26](https://github.com/bcoe/yargs/commit/623dc26c7331abff2465ef8532e3418996d42fe6) Added ability to count boolean options and rolled minimist library back into project. (@chevex)
|
---|
1185 | - [49f0dce](https://github.com/bcoe/yargs/commit/49f0dcef35de4db544c3966350d36eb5838703f6) Fixed small typo. (@chevex)
|
---|
1186 | - [79ec980](https://github.com/bcoe/yargs/commit/79ec9806d9ca6eb0014cfa4b6d1849f4f004baf2) Removed dependency on wordwrap module. (@chevex)
|
---|
1187 | - [ea14630](https://github.com/bcoe/yargs/commit/ea14630feddd69d1de99dd8c0e08948f4c91f00a) Merge branch 'master' of github.com:chbrown/node-optimist (@chevex)
|
---|
1188 | - [2b75da2](https://github.com/bcoe/yargs/commit/2b75da2624061e0f4f3107d20303c06ec9054906) Merge branch 'master' of github.com:seanzhou1023/node-optimist (@chevex)
|
---|
1189 | - [d9bda11](https://github.com/bcoe/yargs/commit/d9bda1116e26f3b40e833ca9ca19263afea53565) Merge branch 'patch-1' of github.com:thefourtheye/node-optimist (@chevex)
|
---|
1190 | - [d6cc606](https://github.com/bcoe/yargs/commit/d6cc6064a4f1bea38a16a4430b8a1334832fbeff) Renamed README. (@chevex)
|
---|
1191 | - [9498d3f](https://github.com/bcoe/yargs/commit/9498d3f59acfb5e102826503e681623c3a64b178) Renamed readme and added .gitignore. (@chevex)
|
---|
1192 | - [bbd1fe3](https://github.com/bcoe/yargs/commit/bbd1fe37fefa366dde0fb3dc44d91fe8b28f57f5) Included examples for ```help``` and ```showHelp``` functions and fixed few formatting issues (@thefourtheye)
|
---|
1193 | - [37fea04](https://github.com/bcoe/yargs/commit/37fea0470a5796a0294c1dcfff68d8041650e622) .alias({}) behaves differently based on mapping direction when generating descriptions (@chbrown)
|
---|
1194 | - [855b20d](https://github.com/bcoe/yargs/commit/855b20d0be567ca121d06b30bea64001b74f3d6d) Documented function signatures are useful for dynamically typed languages. (@chbrown)
|
---|
1195 |
|
---|
1196 | ### 0.6.0 (2013/06/25 08:48 +00:00)
|
---|
1197 | - [d37bfe0](https://github.com/bcoe/yargs/commit/d37bfe05ae6d295a0ab481efe4881222412791f4) all tests passing using minimist (@substack)
|
---|
1198 | - [76f1352](https://github.com/bcoe/yargs/commit/76f135270399d01f2bbc621e524a5966e5c422fd) all parse tests now passing (@substack)
|
---|
1199 | - [a7b6754](https://github.com/bcoe/yargs/commit/a7b6754276c38d1565479a5685c3781aeb947816) using minimist, some tests passing (@substack)
|
---|
1200 | - [6655688](https://github.com/bcoe/yargs/commit/66556882aa731cbbbe16cc4d42c85740a2e98099) Give credit where its due (@DeadAlready)
|
---|
1201 | - [602a2a9](https://github.com/bcoe/yargs/commit/602a2a92a459f93704794ad51b115bbb08b535ce) v0.5.3 - Remove wordwrap as dependency (@DeadAlready)
|
---|
1202 |
|
---|
1203 | ### 0.5.2 (2013/05/31 03:46 +00:00)
|
---|
1204 | - [4497ca5](https://github.com/bcoe/yargs/commit/4497ca55e332760a37b866ec119ded347ca27a87) fixed the whitespace bug without breaking anything else (@substack)
|
---|
1205 | - [5a3dd1a](https://github.com/bcoe/yargs/commit/5a3dd1a4e0211a38613c6e02f61328e1031953fa) failing test for whitespace arg (@substack)
|
---|
1206 |
|
---|
1207 | ### 0.5.1 (2013/05/30 07:17 +00:00)
|
---|
1208 | - [a20228f](https://github.com/bcoe/yargs/commit/a20228f62a454755dd07f628a7c5759113918327) fix parse() to work with functions before it (@substack)
|
---|
1209 | - [b13bd4c](https://github.com/bcoe/yargs/commit/b13bd4cac856a9821d42fa173bdb58f089365a7d) failing test for parse() with modifiers (@substack)
|
---|
1210 |
|
---|
1211 | ### 0.5.0 (2013/05/18 21:59 +00:00)
|
---|
1212 | - [c474a64](https://github.com/bcoe/yargs/commit/c474a649231527915c222156e3b40806d365a87c) fixes for dash (@substack)
|
---|
1213 |
|
---|
1214 | ### 0.4.0 (2013/04/13 19:03 +00:00)
|
---|
1215 | - [dafe3e1](https://github.com/bcoe/yargs/commit/dafe3e18d7c6e7c2d68e06559df0e5cbea3adb14) failing short test (@substack)
|
---|
1216 |
|
---|
1217 | ### 0.3.7 (2013/04/04 04:07 +00:00)
|
---|
1218 | - [6c7a0ec](https://github.com/bcoe/yargs/commit/6c7a0ec94ce4199a505f0518b4d6635d4e47cc81) Fix for windows. On windows there is no _ in environment. (@hdf)
|
---|
1219 |
|
---|
1220 | ### 0.3.6 (2013/04/04 04:04 +00:00)
|
---|
1221 | - [e72346a](https://github.com/bcoe/yargs/commit/e72346a727b7267af5aa008b418db89970873f05) Add support for newlines in -a="" arguments (@danielbeardsley)
|
---|
1222 | - [71e1fb5](https://github.com/bcoe/yargs/commit/71e1fb55ea9987110a669ac6ec12338cfff3821c) drop 0.4, add 0.8 to travis (@substack)
|
---|
1223 |
|
---|
1224 | ### 0.3.5 (2012/10/10 11:09 +00:00)
|
---|
1225 | - [ee692b3](https://github.com/bcoe/yargs/commit/ee692b37554c70a0bb16389a50a26b66745cbbea) Fix parsing booleans (@vojtajina)
|
---|
1226 | - [5045122](https://github.com/bcoe/yargs/commit/5045122664c3f5b4805addf1be2148d5856f7ce8) set $0 properly in the tests (@substack)
|
---|
1227 |
|
---|
1228 | ### 0.3.4 (2012/04/30 06:54 +00:00)
|
---|
1229 | - [f28c0e6](https://github.com/bcoe/yargs/commit/f28c0e62ca94f6e0bb2e6d82fc3d91a55e69b903) bump for string "true" params (@substack)
|
---|
1230 | - [8f44aeb](https://github.com/bcoe/yargs/commit/8f44aeb74121ddd689580e2bf74ef86a605e9bf2) Fix failing test for aliased booleans. (@coderarity)
|
---|
1231 | - [b9f7b61](https://github.com/bcoe/yargs/commit/b9f7b613b1e68e11e6c23fbda9e555a517dcc976) Add failing test for short aliased booleans. (@coderarity)
|
---|
1232 |
|
---|
1233 | ### 0.3.3 (2012/04/30 06:45 +00:00)
|
---|
1234 | - [541bac8](https://github.com/bcoe/yargs/commit/541bac8dd787a5f1a5d28f6d8deb1627871705e7) Fixes #37.
|
---|
1235 |
|
---|
1236 | ### 0.3.2 (2012/04/12 20:28 +00:00)
|
---|
1237 | - [3a0f014](https://github.com/bcoe/yargs/commit/3a0f014c1451280ac1c9caa1f639d31675586eec) travis badge (@substack)
|
---|
1238 | - [4fb60bf](https://github.com/bcoe/yargs/commit/4fb60bf17845f4ce3293f8ca49c9a1a7c736cfce) Fix boolean aliases. (@coderarity)
|
---|
1239 | - [f14dda5](https://github.com/bcoe/yargs/commit/f14dda546efc4fe06ace04d36919bfbb7634f79b) Adjusted package.json to use tap (@jfhbrook)
|
---|
1240 | - [88e5d32](https://github.com/bcoe/yargs/commit/88e5d32295be6e544c8d355ff84e355af38a1c74) test/usage.js no longer hangs (@jfhbrook)
|
---|
1241 | - [e1e740c](https://github.com/bcoe/yargs/commit/e1e740c27082f3ce84deca2093d9db2ef735d0e5) two tests for combined boolean/alias opts parsing (@jfhbrook)
|
---|
1242 |
|
---|
1243 | ### 0.3.1 (2011/12/31 08:44 +00:00)
|
---|
1244 | - [d09b719](https://github.com/bcoe/yargs/commit/d09b71980ef711b6cf3918cd19beec8257e40e82) If "default" is set to false it was not passed on, fixed. (@wolframkriesing)
|
---|
1245 |
|
---|
1246 | ### 0.3.0 (2011/12/09 06:03 +00:00)
|
---|
1247 | - [6e74aa7](https://github.com/bcoe/yargs/commit/6e74aa7b46a65773e20c0cb68d2d336d4a0d553d) bump and documented dot notation (@substack)
|
---|
1248 |
|
---|
1249 | ### 0.2.7 (2011/10/20 02:25 +00:00)
|
---|
1250 | - [94adee2](https://github.com/bcoe/yargs/commit/94adee20e17b58d0836f80e8b9cdbe9813800916) argv._ can be told 'Hey! argv._! Don't be messing with my args.', and it WILL obey (@colinta)
|
---|
1251 | - [c46fdd5](https://github.com/bcoe/yargs/commit/c46fdd56a05410ae4a1e724a4820c82e77ff5469) optimistic critter image (@substack)
|
---|
1252 | - [5c95c73](https://github.com/bcoe/yargs/commit/5c95c73aedf4c7482bd423e10c545e86d7c8a125) alias options() to option() (@substack)
|
---|
1253 | - [f7692ea](https://github.com/bcoe/yargs/commit/f7692ea8da342850af819367833abb685fde41d8) [fix] Fix for parsing boolean edge case (@indexzero)
|
---|
1254 | - [d1f92d1](https://github.com/bcoe/yargs/commit/d1f92d1425bd7f356055e78621b30cdf9741a3c2)
|
---|
1255 | - [b01bda8](https://github.com/bcoe/yargs/commit/b01bda8d86e455bbf74ce497864cb8ab5b9fb847) [fix test] Update to ensure optimist is aware of default booleans. Associated tests included (@indexzero)
|
---|
1256 | - [aa753e7](https://github.com/bcoe/yargs/commit/aa753e7c54fb3a12f513769a0ff6d54aa0f63943) [dist test] Update devDependencies in package.json. Update test pathing to be more npm and require.paths future-proof (@indexzero)
|
---|
1257 | - [7bfce2f](https://github.com/bcoe/yargs/commit/7bfce2f3b3c98e6539e7549d35fbabced7e9341e) s/sys/util/ (@substack)
|
---|
1258 | - [d420a7a](https://github.com/bcoe/yargs/commit/d420a7a9c890d2cdb11acfaf3ea3f43bc3e39f41) update usage output (@substack)
|
---|
1259 | - [cf86eed](https://github.com/bcoe/yargs/commit/cf86eede2e5fc7495b6ec15e6d137d9ac814f075) some sage readme protips about parsing rules (@substack)
|
---|
1260 | - [5da9f7a](https://github.com/bcoe/yargs/commit/5da9f7a5c0e1758ec7c5801fb3e94d3f6e970513) documented all the methods finally (@substack)
|
---|
1261 | - [8ca6879](https://github.com/bcoe/yargs/commit/8ca6879311224b25933642987300f6a29de5c21b) fenced syntax highlighting (@substack)
|
---|
1262 | - [b72bacf](https://github.com/bcoe/yargs/commit/b72bacf1d02594778c1935405bc8137eb61761dc) right-alignment of wrapped extra params (@substack)
|
---|
1263 | - [2b980bf](https://github.com/bcoe/yargs/commit/2b980bf2656b4ee8fc5134dc5f56a48855c35198) now with .wrap() (@substack)
|
---|
1264 | - [d614f63](https://github.com/bcoe/yargs/commit/d614f639654057d1b7e35e3f5a306e88ec2ad1e4) don't show 'Options:' when there aren't any (@substack)
|
---|
1265 | - [691eda3](https://github.com/bcoe/yargs/commit/691eda354df97b5a86168317abcbcaabdc08a0fb) failing test for multi-aliasing (@substack)
|
---|
1266 | - [0826c9f](https://github.com/bcoe/yargs/commit/0826c9f462109feab2bc7a99346d22e72bf774b7) "Options:" > "options:" (@substack)
|
---|
1267 | - [72f7490](https://github.com/bcoe/yargs/commit/72f749025d01b7f295738ed370a669d885fbada0) [minor] Update formatting for `.showHelp()` (@indexzero)
|
---|
1268 | - [75aecce](https://github.com/bcoe/yargs/commit/75aeccea74329094072f95800e02c275e7d999aa) options works again, too lazy to write a proper test right now (@substack)
|
---|
1269 | - [f742e54](https://github.com/bcoe/yargs/commit/f742e5439817c662dc3bd8734ddd6467e6018cfd) line_count_options example, which breaks (@substack)
|
---|
1270 | - [4ca06b8](https://github.com/bcoe/yargs/commit/4ca06b8b4ea99b5d5714b315a2a8576bee6e5537) line count example (@substack)
|
---|
1271 | - [eeb8423](https://github.com/bcoe/yargs/commit/eeb8423e0a5ecc9dc3eb1e6df9f3f8c1c88f920b) remove self.argv setting in boolean (@substack)
|
---|
1272 | - [6903412](https://github.com/bcoe/yargs/commit/69034126804660af9cc20ea7f4457b50338ee3d7) removed camel case for now (@substack)
|
---|
1273 | - [5a0d88b](https://github.com/bcoe/yargs/commit/5a0d88bf23e9fa79635dd034e2a1aa992acc83cd) remove dead longest checking code (@substack)
|
---|
1274 | - [d782170](https://github.com/bcoe/yargs/commit/d782170babf7284b1aa34f5350df0dd49c373fa8) .help() too (@substack)
|
---|
1275 | - [622ec17](https://github.com/bcoe/yargs/commit/622ec17379bb5374fdbb190404c82bc600975791) rm old help generator (@substack)
|
---|
1276 | - [7c8baac](https://github.com/bcoe/yargs/commit/7c8baac4d66195e9f5158503ea9ebfb61153dab7) nub keys (@substack)
|
---|
1277 | - [8197785](https://github.com/bcoe/yargs/commit/8197785ad4762465084485b041abd722f69bf344) generate help message based on the previous calls, todo: nub (@substack)
|
---|
1278 | - [3ffbdc3](https://github.com/bcoe/yargs/commit/3ffbdc33c8f5e83d4ea2ac60575ce119570c7ede) stub out new showHelp, better checks (@substack)
|
---|
1279 | - [d4e21f5](https://github.com/bcoe/yargs/commit/d4e21f56a4830f7de841900d3c79756fb9886184) let .options() take single options too (@substack)
|
---|
1280 | - [3c4cf29](https://github.com/bcoe/yargs/commit/3c4cf2901a29bac119cca8e983028d8669230ec6) .options() is now heaps simpler (@substack)
|
---|
1281 | - [89f0d04](https://github.com/bcoe/yargs/commit/89f0d043cbccd302f10ab30c2069e05d2bf817c9) defaults work again, all tests pass (@substack)
|
---|
1282 | - [dd87333](https://github.com/bcoe/yargs/commit/dd8733365423006a6e4156372ebb55f98323af58) update test error messages, down to 2 failing tests (@substack)
|
---|
1283 | - [53f7bc6](https://github.com/bcoe/yargs/commit/53f7bc626b9875f2abdfc5dd7a80bde7f14143a3) fix for bools doubling up, passes the parse test again, others fail (@substack)
|
---|
1284 | - [2213e2d](https://github.com/bcoe/yargs/commit/2213e2ddc7263226fba717fb041dc3fde9bc2ee4) refactored for an argv getter, failing several tests (@substack)
|
---|
1285 | - [d1e7379](https://github.com/bcoe/yargs/commit/d1e737970f15c6c006bebdd8917706827ff2f0f2) just rescan for now, alias test passes (@substack)
|
---|
1286 | - [b2f8c99](https://github.com/bcoe/yargs/commit/b2f8c99cc477a8eb0fdf4cf178e1785b63185cfd) failing alias test (@substack)
|
---|
1287 | - [d0c0174](https://github.com/bcoe/yargs/commit/d0c0174daa144bfb6dc7290fdc448c393c475e15) .alias() (@substack)
|
---|
1288 | - [d85f431](https://github.com/bcoe/yargs/commit/d85f431ad7d07b058af3f2a57daa51495576c164) [api] Remove `.describe()` in favor of building upon the existing `.usage()` API (@indexzero)
|
---|
1289 | - [edbd527](https://github.com/bcoe/yargs/commit/edbd5272a8e213e71acd802782135c7f9699913a) [doc api] Add `.describe()`, `.options()`, and `.showHelp()` methods along with example. (@indexzero)
|
---|
1290 | - [be4902f](https://github.com/bcoe/yargs/commit/be4902ff0961ae8feb9093f2c0a4066463ded2cf) updates for coffee since it now does argv the node way (@substack)
|
---|
1291 | - [e24cb23](https://github.com/bcoe/yargs/commit/e24cb23798ee64e53b60815e7fda78b87f42390c) more general coffeescript detection (@substack)
|
---|
1292 | - [78ac753](https://github.com/bcoe/yargs/commit/78ac753e5d0ec32a96d39d893272afe989e42a4d) Don't trigger the CoffeeScript hack when running under node_g. (@papandreou)
|
---|
1293 | - [bcfe973](https://github.com/bcoe/yargs/commit/bcfe9731d7f90d4632281b8a52e8d76eb0195ae6) .string() but failing test (@substack)
|
---|
1294 | - [1987aca](https://github.com/bcoe/yargs/commit/1987aca28c7ba4e8796c07bbc547cb984804c826) test hex strings (@substack)
|
---|
1295 | - [ef36db3](https://github.com/bcoe/yargs/commit/ef36db32259b0b0d62448dc907c760e5554fb7e7) more keywords (@substack)
|
---|
1296 | - [cc53c56](https://github.com/bcoe/yargs/commit/cc53c56329960bed6ab077a79798e991711ba01d) Added camelCase function that converts --multi-word-option to camel case (so it becomes argv.multiWordOption). (@papandreou)
|
---|
1297 | - [60b57da](https://github.com/bcoe/yargs/commit/60b57da36797716e5783a633c6d5c79099016d45) fixed boolean bug by rescanning (@substack)
|
---|
1298 | - [dff6d07](https://github.com/bcoe/yargs/commit/dff6d078d97f8ac503c7d18dcc7b7a8c364c2883) boolean examples (@substack)
|
---|
1299 | - [0e380b9](https://github.com/bcoe/yargs/commit/0e380b92c4ef4e3c8dac1da18b5c31d85b1d02c9) boolean() with passing test (@substack)
|
---|
1300 | - [62644d4](https://github.com/bcoe/yargs/commit/62644d4bffbb8d1bbf0c2baf58a1d14a6359ef07) coffee compatibility with node regex for versions too (@substack)
|
---|
1301 | - [430fafc](https://github.com/bcoe/yargs/commit/430fafcf1683d23774772826581acff84b456827) argv._ fixed by fixing the coffee detection (@substack)
|
---|
1302 | - [343b8af](https://github.com/bcoe/yargs/commit/343b8afefd98af274ebe21b5a16b3a949ec5429f) whichNodeArgs test fails too (@substack)
|
---|
1303 | - [63df2f3](https://github.com/bcoe/yargs/commit/63df2f371f31e63d7f1dec2cbf0022a5f08da9d2) replicated mnot's bug in whichNodeEmpty test (@substack)
|
---|
1304 | - [35473a4](https://github.com/bcoe/yargs/commit/35473a4d93a45e5e7e512af8bb54ebb532997ae1) test for ./bin usage (@substack)
|
---|
1305 | - [13df151](https://github.com/bcoe/yargs/commit/13df151e44228eed10e5441c7cd163e086c458a4) don't coerce booleans to numbers (@substack)
|
---|
1306 | - [85f8007](https://github.com/bcoe/yargs/commit/85f8007e93b8be7124feea64b1f1916d8ba1894a) package bump for automatic number conversion (@substack)
|
---|
1307 | - [8f17014](https://github.com/bcoe/yargs/commit/8f170141cded4ccc0c6d67a849c5bf996aa29643) updated readme and examples with new auto-numberification goodness (@substack)
|
---|
1308 | - [73dc901](https://github.com/bcoe/yargs/commit/73dc9011ac968e39b55e19e916084a839391b506) auto number conversion works yay (@substack)
|
---|
1309 | - [bcec56b](https://github.com/bcoe/yargs/commit/bcec56b3d031e018064cbb691539ccc4f28c14ad) failing test for not-implemented auto numification (@substack)
|
---|
1310 | - [ebd2844](https://github.com/bcoe/yargs/commit/ebd2844d683feeac583df79af0e5124a7a7db04e) odd that eql doesn't check types careflly (@substack)
|
---|
1311 | - [fd854b0](https://github.com/bcoe/yargs/commit/fd854b02e512ce854b76386d395672a7969c1bc4) package author + keywords (@substack)
|
---|
1312 | - [656a1d5](https://github.com/bcoe/yargs/commit/656a1d5a1b7c0e49d72e80cb13f20671d56f76c6) updated readme with .default() stuff (@substack)
|
---|
1313 | - [cd7f8c5](https://github.com/bcoe/yargs/commit/cd7f8c55f0b82b79b690d14c5f806851236998a1) passing tests for new .default() behavior (@substack)
|
---|
1314 | - [932725e](https://github.com/bcoe/yargs/commit/932725e39ce65bc91a0385a5fab659a5fa976ac2) new default() thing for setting default key/values (@substack)
|
---|
1315 | - [4e6c7ab](https://github.com/bcoe/yargs/commit/4e6c7aba6374ac9ebc6259ecf91f13af7bce40e3) test for coffee usage (@substack)
|
---|
1316 | - [d54ffcc](https://github.com/bcoe/yargs/commit/d54ffccf2a5a905f51ed5108f7c647f35d64ae23) new --key value style with passing tests. NOTE: changes existing behavior (@substack)
|
---|
1317 | - [ed2a2d5](https://github.com/bcoe/yargs/commit/ed2a2d5d828100ebeef6385c0fb88d146a5cfe9b) package bump for summatix's coffee script fix (@substack)
|
---|
1318 | - [75a975e](https://github.com/bcoe/yargs/commit/75a975eed8430d28e2a79dc9e6d819ad545f4587) Added support for CoffeeScript (@summatix)
|
---|
1319 | - [56b2b1d](https://github.com/bcoe/yargs/commit/56b2b1de8d11f8a2b91979d8ae2d6db02d8fe64d) test coverage for the falsy check() usage (@substack)
|
---|
1320 | - [a4843a9](https://github.com/bcoe/yargs/commit/a4843a9f0e69ffb4afdf6a671d89eb6f218be35d) check bug fixed plus a handy string (@substack)
|
---|
1321 | - [857bd2d](https://github.com/bcoe/yargs/commit/857bd2db933a5aaa9cfecba0ced2dc9b415f8111) tests for demandCount, back up to 100% coverage (@substack)
|
---|
1322 | - [073b776](https://github.com/bcoe/yargs/commit/073b7768ebd781668ef05c13f9003aceca2f5c35) call demandCount from demand (@substack)
|
---|
1323 | - [4bd4b7a](https://github.com/bcoe/yargs/commit/4bd4b7a085c8b6ce1d885a0f486cc9865cee2db1) add demandCount to check for the number of arguments in the _ list (@marshall)
|
---|
1324 | - [b8689ac](https://github.com/bcoe/yargs/commit/b8689ac68dacf248119d242bba39a41cb0adfa07) Rebase checks. That will be its own module eventually. (@substack)
|
---|
1325 | - [e688370](https://github.com/bcoe/yargs/commit/e688370b576f0aa733c3f46183df69e1b561668e) a $0 like in perl (@substack)
|
---|
1326 | - [2e5e196](https://github.com/bcoe/yargs/commit/2e5e1960fc19afb21fb3293752316eaa8bcd3609) usage test hacking around process and console (@substack)
|
---|
1327 | - [fcc3521](https://github.com/bcoe/yargs/commit/fcc352163fbec6a1dfe8caf47a0df39de24fe016) description pun (@substack)
|
---|
1328 | - [87a1fe2](https://github.com/bcoe/yargs/commit/87a1fe29037ca2ca5fefda85141aaeb13e8ce761) mit/x11 license (@substack)
|
---|
1329 | - [8d089d2](https://github.com/bcoe/yargs/commit/8d089d24cd687c0bde3640a96c09b78f884900dd) bool example is more consistent and also shows off short option grouping (@substack)
|
---|
1330 | - [448d747](https://github.com/bcoe/yargs/commit/448d7473ac68e8e03d8befc9457b0d9e21725be0) start of the readme and examples (@substack)
|
---|
1331 | - [da74dea](https://github.com/bcoe/yargs/commit/da74dea799a9b59dbf022cbb8001bfdb0d52eec9) more tests for long and short captures (@substack)
|
---|
1332 | - [ab6387e](https://github.com/bcoe/yargs/commit/ab6387e6769ca4af82ca94c4c67c7319f0d9fcfa) silly bug in the tests with s/not/no/, all tests pass now (@substack)
|
---|
1333 | - [102496a](https://github.com/bcoe/yargs/commit/102496a319e8e06f6550d828fc2f72992c7d9ecc) hack an instance for process.argv onto Argv so the export can be called to create an instance or used for argv, which is the most common case (@substack)
|
---|
1334 | - [a01caeb](https://github.com/bcoe/yargs/commit/a01caeb532546d19f68f2b2b87f7036cfe1aaedd) divide example (@substack)
|
---|
1335 | - [443da55](https://github.com/bcoe/yargs/commit/443da55736acbaf8ff8b04d1b9ce19ab016ddda2) start of the lib with a package.json (@substack)
|
---|