2
2
===
3
3
CLI for Developers
4
4
5
+ [ ![ GithubCI] ( https://github.com/codingtools/cdt/workflows/GithubCI/badge.svg )] ( https://github.com/codingtools/cdt/actions?query=workflow%3AGithubCI )
5
6
[ ![ CircleCI] ( https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.1.svg?style=shield )] ( https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.1 )
7
+ [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/82d29e2a902a4c338228d636f290d9cd )] ( https://app.codacy.com/gh/codingtools/cdt?utm_source=github.com&utm_medium=referral&utm_content=codingtools/cdt&utm_campaign=Badge_Grade_Dashboard )
8
+ [ ![ codecov] ( https://codecov.io/gh/codingtools/cdt/branch/release%2Frelease-v0.1/graph/badge.svg )] ( https://codecov.io/gh/codingtools/cdt )
6
9
[ ![ Version] ( https://img.shields.io/npm/v/@codingtools/cdt )] ( https://npmjs.org/package/@codingtools/cdt )
7
10
![ npm] ( https://img.shields.io/npm/dt/@codingtools/cdt )
8
- ![ npm] ( https://img.shields.io/npm/dm/@codingtools/cdt )
9
- [ ![ GitHub commit activity] ( https://img.shields.io/github/commit-activity/m/codingtools/cdt )] ( https://github.com/codingtools/cdt/graphs/commit-activity )
11
+ ![ node (scoped)] ( https://img.shields.io/node/v/@codingtools/cdt ) [ ![ GitHub commit activity] ( https://img.shields.io/github/commit-activity/m/codingtools/cdt )] ( https://github.com/codingtools/cdt/graphs/commit-activity )
10
12
[ ![ GitHub contributors] ( https://img.shields.io/github/contributors/codingtools/cdt )] ( https://github.com/codingtools/cdt/graphs/contributors )
11
13
[ ![ License] ( https://img.shields.io/npm/l/@codingtools/cdt )] ( https://github.com/codingtools/cdt/blob/master/package.json )
12
14
[ ![ Greenkeeper badge] ( https://badges.greenkeeper.io/codingtools/cdt.svg )] ( https://greenkeeper.io/ )
@@ -38,7 +40,7 @@ $ npm install -g @codingtools/cdt
38
40
$ cdt COMMAND
39
41
running command...
40
42
$ cdt (-v| --version| version)
41
- @codingtools/cdt/0.1.5 darwin-x64 node-v12.9.0
43
+ @codingtools/cdt/0.1.6 darwin-x64 node-v12.9.0
42
44
$ cdt --help [COMMAND]
43
45
USAGE
44
46
$ cdt COMMAND
48
50
# Commands
49
51
<!-- commands -->
50
52
* [ ` cdt autocomplete [SHELL] ` ] ( #cdt-autocomplete-shell )
53
+ * [ ` cdt avro [COMMAND] ` ] ( #cdt-avro-command )
51
54
* [ ` cdt bundlephobia [PACKAGE] ` ] ( #cdt-bundlephobia-package )
52
55
* [ ` cdt crypto [STRING] ` ] ( #cdt-crypto-string )
53
56
* [ ` cdt datetime [DATE] ` ] ( #cdt-datetime-date )
@@ -78,6 +81,23 @@ EXAMPLES
78
81
79
82
_ See code: [ @oclif/plugin-autocomplete ] ( https://github.com/oclif/plugin-autocomplete/blob/v0.1.4/src/commands/autocomplete/index.ts ) _
80
83
84
+ ## ` cdt avro [COMMAND] `
85
+
86
+ Avro Utility command
87
+
88
+ ```
89
+ USAGE
90
+ $ cdt avro [COMMAND]
91
+
92
+ OPTIONS
93
+ -f, --file=file input file path
94
+ -h, --help show CLI help
95
+ -o, --output=output output file path
96
+ -t, --schemaType=schemaType schema type file path
97
+ ```
98
+
99
+ _ See code: [ src/commands/avro.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6/src/commands/avro.ts ) _
100
+
81
101
## ` cdt bundlephobia [PACKAGE] `
82
102
83
103
Find cost of adding a npm/yarn packages or all dependencies in package.json file
@@ -92,7 +112,7 @@ OPTIONS
92
112
-p, --packages=packages packages for which cost is required, can pass more than one separated by space
93
113
```
94
114
95
- _ See code: [ src/commands/bundlephobia.ts] ( https://github.com/codingtools/cdt/blob/v0.1.5 /src/commands/bundlephobia.ts ) _
115
+ _ See code: [ src/commands/bundlephobia.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/bundlephobia.ts ) _
96
116
97
117
## ` cdt crypto [STRING] `
98
118
@@ -112,7 +132,7 @@ OPTIONS
112
132
-s, --string=string string to be encrypted/decrypted
113
133
```
114
134
115
- _ See code: [ src/commands/crypto.ts] ( https://github.com/codingtools/cdt/blob/v0.1.5 /src/commands/crypto.ts ) _
135
+ _ See code: [ src/commands/crypto.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/crypto.ts ) _
116
136
117
137
## ` cdt datetime [DATE] `
118
138
@@ -130,7 +150,7 @@ OPTIONS
130
150
-z, --timezone=timezone Timezone for Datetime parsing, default: Your timezone
131
151
```
132
152
133
- _ See code: [ src/commands/datetime.ts] ( https://github.com/codingtools/cdt/blob/v0.1.5 /src/commands/datetime.ts ) _
153
+ _ See code: [ src/commands/datetime.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/datetime.ts ) _
134
154
135
155
## ` cdt hash [STRING] `
136
156
@@ -148,7 +168,7 @@ OPTIONS
148
168
-t, --type=type type of hash [SHA1(default), MD5, SHA256, SHA512, RMD160 or RIPEMD160]
149
169
```
150
170
151
- _ See code: [ src/commands/hash.ts] ( https://github.com/codingtools/cdt/blob/v0.1.5 /src/commands/hash.ts ) _
171
+ _ See code: [ src/commands/hash.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/hash.ts ) _
152
172
153
173
## ` cdt help [COMMAND] `
154
174
@@ -184,9 +204,16 @@ OPTIONS
184
204
HTML/HTM, CSS
185
205
```
186
206
187
- _ See code: [ src/commands/minify.ts] ( https://github.com/codingtools/cdt/blob/v0.1.5 /src/commands/minify.ts ) _
207
+ _ See code: [ src/commands/minify.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/minify.ts ) _
188
208
<!-- commandsstop -->
189
209
210
+ ## Acknowledgement
211
+ * this cli uses following opensource libraries/services
212
+ * [ bundlephobia] ( https://bundlephobia.com/ )
213
+ * [ avro-js] ( https://openbase.io/js/avro-js )
214
+ * [ avsc] ( https://github.com/mtth/avsc )
215
+
216
+ And many others, great thanks to all the people involved in developnment and support :)
190
217
191
218
## Contribution
192
219
@@ -198,6 +225,18 @@ Please feel free to provide any suggestion for new utility in [Issues](https://g
198
225
199
226
This Project is created and supported by [ Ashish Patel] ( http://ashish.live/ )
200
227
228
+ ## Releasing Version
229
+ * this needs to be done from release* branch
230
+ ``` bash
231
+ npm version patch
232
+ ```
233
+ it will update readme.md and update package.json, also will create tag and commit.
234
+
235
+ ``` bash
236
+ npm publish --access public
237
+ ```
238
+ this will publish package to ** npm** starting with updating README and publishing tarballs
239
+
201
240
## License
202
241
203
242
[ MIT] ( https://raw.githubusercontent.com/codingtools/cdt/master/LICENSE )
0 commit comments