clp 4.0.11 → 4.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +141 -42
  3. package/package.json +4 -2
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-19 Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)
3
+ Copyright (c) 2015-25 Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,14 +1,41 @@
1
1
  <!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->
2
2
 
3
3
 
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
4
20
  # clp
5
21
 
6
- [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Travis](https://img.shields.io/travis/IonicaBizau/clp.svg)](https://travis-ci.org/IonicaBizau/clp/) [![Version](https://img.shields.io/npm/v/clp.svg)](https://www.npmjs.com/package/clp) [![Downloads](https://img.shields.io/npm/dt/clp.svg)](https://www.npmjs.com/package/clp) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)
22
+ [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Travis](https://img.shields.io/travis/IonicaBizau/clp.svg)](https://travis-ci.org/IonicaBizau/clp/) [![Version](https://img.shields.io/npm/v/clp.svg)](https://www.npmjs.com/package/clp) [![Downloads](https://img.shields.io/npm/dt/clp.svg)](https://www.npmjs.com/package/clp) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/@johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)
7
23
 
8
24
  <a href="https://www.buymeacoffee.com/H96WwChMy" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy Me A Coffee"></a>
9
25
 
26
+
27
+
28
+
29
+
30
+
31
+
10
32
  > A tiny and fast command line arguments parser.
11
33
 
34
+
35
+
36
+
37
+
38
+
12
39
  ## :rocket: Migration from `3.x.x` to `4.x.x`
13
40
 
14
41
 
@@ -19,6 +46,17 @@ arguments. Use [**`tilda`**](https://github.com/IonicaBizau/tilda)
19
46
  for a high-level interface for building cli tools.
20
47
 
21
48
 
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
22
60
  ## :cloud: Installation
23
61
 
24
62
  ```sh
@@ -30,6 +68,17 @@ yarn add clp
30
68
  ```
31
69
 
32
70
 
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
33
82
  ## :clipboard: Example
34
83
 
35
84
 
@@ -48,17 +97,31 @@ console.log(clp(["--name", "Johnny", "-a", "20", "--location", "Earth", "--no-st
48
97
 
49
98
 
50
99
 
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
51
109
  ## :question: Get Help
52
110
 
53
111
  There are few ways to get help:
54
112
 
113
+
114
+
55
115
  1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.
56
116
  2. For bug reports and feature requests, open issues. :bug:
57
-
58
117
  3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:
59
118
 
60
119
 
61
120
 
121
+
122
+
123
+
124
+
62
125
  ## :memo: Documentation
63
126
 
64
127
 
@@ -74,12 +137,22 @@ Parses the cli arguments.
74
137
 
75
138
 
76
139
 
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
77
151
  ## :yum: How to contribute
78
152
  Have an idea? Found a bug? See [how to contribute][contributing].
79
153
 
80
154
 
81
155
  ## :sparkling_heart: Support my projects
82
-
83
156
  I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,
84
157
  this takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).
85
158
 
@@ -98,62 +171,88 @@ However, if you get some profit from this or just want to encourage me to contin
98
171
  Thanks! :heart:
99
172
 
100
173
 
174
+
175
+
176
+
177
+
178
+
179
+
180
+
101
181
  ## :cake: Thanks
102
182
  This package is heavily based on [`minimist`](https://github.com/substack/minimist). :sparkles:
103
183
 
184
+
185
+
186
+
187
+
188
+
189
+
190
+
104
191
  ## :dizzy: Where is this library used?
105
192
  If you are using this library in one of your projects, add it in this list. :sparkles:
106
193
 
194
+ - `3abn`
195
+ - `@isysd/gpm`
196
+ - `a-csv`
197
+ - `arc-asm`
198
+ - `birthday`
199
+ - `cdnjs-importer`
200
+ - `diable`
201
+ - `electron-comrade`
202
+ - `emojer-cli`
203
+ - `engine-tools`
204
+ - `gh-notifier`
205
+ - `ghcal`
206
+ - `git-issues`
207
+ - `git-stats-importer`
208
+ - `github-emojify`
209
+ - `github-labeller`
210
+ - `github-stats`
211
+ - `gpm`
212
+ - `grokodile`
213
+ - `image-to-ascii-cli`
214
+ - `kindly-license`
215
+ - `name-it`
216
+ - `namly`
217
+ - `namy`
218
+ - `npmreserve`
219
+ - `photon-browser`
220
+ - `rucksack.js`
221
+ - `ssb-chat`
222
+ - `ssh-remote`
223
+ - `tilda`
224
+ - `tinyreq-cli`
225
+ - `tithe`
226
+ - `wrabbit`
227
+ - `zotero-plugin`
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
107
237
 
108
- - [`3abn`](https://github.com/IonicaBizau/3abn#readme)—A 3ABN radio client in the terminal.
109
- - [`a-csv`](https://github.com/jillix/a-csv) (by jillix)—A lightweight CSV parser.
110
- - [`arc-asm`](https://github.com/IonicaBizau/arc-assembler)—An ARC assembler written in Node.JS.
111
- - [`birthday`](https://github.com/IonicaBizau/birthday)—Know when a friend's birthday is coming.
112
- - [`cdnjs-importer`](https://github.com/cdnjs/cdnjs-importer)—Easy way to import a library into CDNJS.
113
- - [`diable`](https://github.com/IonicaBizau/diable)—Daemonize the things out.
114
- - [`electron-comrade`](https://github.com/felixrieseberg/electron-comrade#readme) (by Felix Rieseberg)—Electron Comrade is a CLI tool that allows you to run Electron apps with different versions of Electron. This is useful during development and testing, enabling you to quickly test a built app with different versions of Electron or even custom builds.
115
- - [`emojer-cli`](https://github.com/IonicaBizau/emojer-cli#readme)—Command line tool for emojer.
116
- - [`engine-tools`](https://github.com/jillix/engine-tools) (by jillix)—Engine Tools library and CLI app.
117
- - [`gh-notifier`](https://bitbucket.org/IonicaBizau/gh-notifier#readme)—Receive desktop notifications from your GitHub dashboard.
118
- - [`ghcal`](https://github.com/IonicaBizau/ghcal)—See the GitHub contributions calendar of a user in the command line.
119
- - [`git-issues`](https://github.com/softwarescales/git-issues) (by Gabriel Petrovay)—Git issues extension to list issues of a Git project
120
- - [`git-stats-importer`](https://github.com/IonicaBizau/git-stats-importer)—Imports your commits from a repository into git-stats history.
121
- - [`github-emojify`](https://github.com/IonicaBizau/github-emojify#readme)—Emojify your GitHub repository descriptions.
122
- - [`github-labeller`](https://github.com/IonicaBizau/github-labeller#readme)—Automagically create issue labels in your GitHub projects.
123
- - [`github-stats`](https://github.com/IonicaBizau/github-stats)—Visualize stats about GitHub users and projects in your terminal.
124
- - [`gpm`](https://github.com/IonicaBizau/gpm)—npm + git = gpm - Install NPM packages and dependencies from git repositories.
125
- - [`grokodile`](https://github.com/stripedpajamas/grokodile#readme) (by Peter Squicciarini)—get your code/website publicly accessible while developing
126
- - [`image-to-ascii-cli`](https://github.com/IonicaBizau/image-to-ascii-cli#readme)—View images in text format, in your terminal.
127
- - [`kindly-license`](https://github.com/IonicaBizau/kindly-license)—A human readable license for projects created by human-beings.
128
- - [`name-it`](https://github.com/IonicaBizau/name-it#readme)—Generate project names from given keywords.
129
- - [`namly`](https://github.com/IonicaBizau/namly#readme)—A tool for helping you to choose npm package names.
130
- - [`namy`](https://github.com/IonicaBizau/namy)—Gets the name of the exported function.
131
- - [`no-one-left-behind`](https://github.com/Zalastax/no-one-left-behind#readme)—Every package is invited
132
- - [`npmreserve`](https://github.com/IonicaBizau/npmreserve)—Reserve package names on NPM.
133
- - [`photon-browser`](https://github.com/IonicaBizau/photon-browser#readme)—A tiny web browser based on Photon and Electron.
134
- - [`ssb-chat`](https://github.com/stripedpajamas/scat#readme) (by Peter Squicciarini)—scuttlebutt chat
135
- - [`ssh-remote`](https://github.com/IonicaBizau/ssh-remote)—Automagically switch on the SSH remote url in a Git repository.
136
- - [`statique`](https://github.com/IonicaBizau/statique)—A Node.JS static server module with built-in cache options and route features.
137
- - [`tilda`](https://github.com/IonicaBizau/tilda)—Tiny module for building command line tools.
138
- - [`tinyreq-cli`](https://github.com/IonicaBizau/tinyreq-cli#readme)—A cli tool for making http(s) requests. CLI for tinyreq.
139
- - [`tithe`](https://github.com/IonicaBizau/tithe)—Organize and track the tithe payments.
140
- - [`wrabbit`](https://github.com/jillix/wrabbit) (by jillix)—Wrap scripts by providing the wrapping function.
141
238
 
142
239
  ## :scroll: License
143
240
 
144
241
  [MIT][license] © [Ionică Bizău][website]
145
242
 
146
243
 
244
+
245
+
246
+
247
+
248
+ [license]: /LICENSE
249
+ [website]: https://ionicabizau.net
250
+ [contributing]: /CONTRIBUTING.md
251
+ [docs]: /DOCUMENTATION.md
147
252
  [badge_patreon]: https://ionicabizau.github.io/badges/patreon.svg
148
253
  [badge_amazon]: https://ionicabizau.github.io/badges/amazon.svg
149
254
  [badge_paypal]: https://ionicabizau.github.io/badges/paypal.svg
150
255
  [badge_paypal_donate]: https://ionicabizau.github.io/badges/paypal_donate.svg
151
-
152
256
  [patreon]: https://www.patreon.com/ionicabizau
153
257
  [amazon]: http://amzn.eu/hRo9sIZ
154
258
  [paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW
155
-
156
- [license]: http://showalicense.com/?fullname=Ionic%C4%83%20Biz%C4%83u%20%3Cbizauionica%40gmail.com%3E%20(https%3A%2F%2Fionicabizau.net)&year=2015#license-mit
157
- [website]: https://ionicabizau.net
158
- [contributing]: /CONTRIBUTING.md
159
- [docs]: /DOCUMENTATION.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clp",
3
- "version": "4.0.11",
3
+ "version": "4.0.13",
4
4
  "description": "A tiny and fast command line arguments parser.",
5
5
  "main": "lib/index.js",
6
6
  "directories": {
@@ -63,8 +63,10 @@
63
63
  "menu/",
64
64
  "cli.js",
65
65
  "index.js",
66
+ "index.d.ts",
67
+ "package-lock.json",
66
68
  "bloggify.js",
67
69
  "bloggify.json",
68
70
  "bloggify/"
69
71
  ]
70
- }
72
+ }