@@ -11,7 +11,7 @@ CLI for Developers
11
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 )
12
12
[ ![ GitHub contributors] ( https://img.shields.io/github/contributors/codingtools/cdt )] ( https://github.com/codingtools/cdt/graphs/contributors )
13
13
[ ![ License] ( https://img.shields.io/npm/l/@codingtools/cdt )] ( https://github.com/codingtools/cdt/blob/master/package.json )
14
- [ ![ Greenkeeper badge ] ( https://badges.greenkeeper.io/codingtools/cdt.svg )] ( https://greenkeeper.io/ )
14
+
15
15
<!--  -->
16
16
<!-- [](https://npmjs.org/package/@codingtools/cdt) -->
17
17
@@ -40,7 +40,7 @@ $ npm install -g @codingtools/cdt
40
40
$ cdt COMMAND
41
41
running command...
42
42
$ cdt (-v| --version| version)
43
- @codingtools/cdt/0.1.6 darwin-x64 node-v12.9.0
43
+ @codingtools/cdt/0.2.0 darwin-x64 node-v12.9.0
44
44
$ cdt --help [COMMAND]
45
45
USAGE
46
46
$ cdt COMMAND
@@ -90,13 +90,14 @@ USAGE
90
90
$ cdt avro [COMMAND]
91
91
92
92
OPTIONS
93
+ -c, --command=command commands supported: get_schema,to_json,to_avro,to_csv
93
94
-f, --file=file input file path
94
95
-h, --help show CLI help
95
96
-o, --output=output output file path
96
97
-t, --schemaType=schemaType schema type file path
97
98
```
98
99
99
- _ See code: [ src/commands/avro.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/avro.ts ) _
100
+ _ See code: [ src/commands/avro.ts] ( https://github.com/codingtools/cdt/blob/v0.2.0 /src/commands/avro.ts ) _
100
101
101
102
## ` cdt bundlephobia [PACKAGE] `
102
103
@@ -112,7 +113,7 @@ OPTIONS
112
113
-p, --packages=packages packages for which cost is required, can pass more than one separated by space
113
114
```
114
115
115
- _ See code: [ src/commands/bundlephobia.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/bundlephobia.ts ) _
116
+ _ See code: [ src/commands/bundlephobia.ts] ( https://github.com/codingtools/cdt/blob/v0.2.0 /src/commands/bundlephobia.ts ) _
116
117
117
118
## ` cdt crypto [STRING] `
118
119
@@ -132,7 +133,7 @@ OPTIONS
132
133
-s, --string=string string to be encrypted/decrypted
133
134
```
134
135
135
- _ See code: [ src/commands/crypto.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/crypto.ts ) _
136
+ _ See code: [ src/commands/crypto.ts] ( https://github.com/codingtools/cdt/blob/v0.2.0 /src/commands/crypto.ts ) _
136
137
137
138
## ` cdt datetime [DATE] `
138
139
@@ -150,7 +151,7 @@ OPTIONS
150
151
-z, --timezone=timezone Timezone for Datetime parsing, default: Your timezone
151
152
```
152
153
153
- _ See code: [ src/commands/datetime.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/datetime.ts ) _
154
+ _ See code: [ src/commands/datetime.ts] ( https://github.com/codingtools/cdt/blob/v0.2.0 /src/commands/datetime.ts ) _
154
155
155
156
## ` cdt hash [STRING] `
156
157
@@ -161,14 +162,14 @@ USAGE
161
162
$ cdt hash [STRING]
162
163
163
164
OPTIONS
164
- -f, --file=file file to be hashed
165
- -h, --help show CLI help
166
- -o, --outputFile=outputFile output file path
167
- -s, --string=string string to be hashed
168
- -t, --type=type type of hash [SHA1(default), MD5, SHA256, SHA512, RMD160 or RIPEMD160]
165
+ -f, --file=file file to be hashed
166
+ -h, --help show CLI help
167
+ -o, --output=output output file path
168
+ -s, --string=string string to be hashed
169
+ -t, --type=type type of hash [SHA1(default), MD5, SHA256, SHA512, RMD160 or RIPEMD160]
169
170
```
170
171
171
- _ See code: [ src/commands/hash.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/hash.ts ) _
172
+ _ See code: [ src/commands/hash.ts] ( https://github.com/codingtools/cdt/blob/v0.2.0 /src/commands/hash.ts ) _
172
173
173
174
## ` cdt help [COMMAND] `
174
175
@@ -196,15 +197,13 @@ USAGE
196
197
$ cdt minify [FILE]
197
198
198
199
OPTIONS
199
- -f, --file=file file to be minified
200
- -h, --help show CLI help
201
- -o, --outputFile=outputFile output file path
202
-
203
- -t, --type=type type of file to be minified, it will try to find type with extension supported: JS,
204
- HTML/HTM, CSS
200
+ -f, --file=file file to be minified
201
+ -h, --help show CLI help
202
+ -o, --output=output output file path
203
+ -t, --type=type type of file to be minified, it will try to find type with extension supported: JS, HTML/HTM, CSS
205
204
```
206
205
207
- _ See code: [ src/commands/minify.ts] ( https://github.com/codingtools/cdt/blob/v0.1.6 /src/commands/minify.ts ) _
206
+ _ See code: [ src/commands/minify.ts] ( https://github.com/codingtools/cdt/blob/v0.2.0 /src/commands/minify.ts ) _
208
207
<!-- commandsstop -->
209
208
210
209
## Acknowledgement
@@ -223,20 +222,42 @@ Please feel free to provide any suggestion for new utility in [Issues](https://g
223
222
224
223
## @codingtools/cdt
225
224
226
- This Project is created and supported by [ Ashish Patel] ( http://ashish.live/ )
225
+ This Project is created and managed by [ Ashish Patel] ( http://ashish.live/ )
227
226
228
227
## Releasing Version
229
228
* this needs to be done from release* branch
229
+
230
+ ### Increasing Version
231
+
230
232
``` bash
231
- npm version patch
233
+ npm version [ patch| minor | major]
232
234
```
233
235
it will update readme.md and update package.json, also will create tag and commit.
234
236
237
+ ### Publishing to NPM
238
+
235
239
``` bash
236
240
npm publish --access public
237
241
```
238
242
this will publish package to ** npm** starting with updating README and publishing tarballs
239
243
244
+ > Already a Github Action is there to publish on pushing a tag.
245
+
246
+ ### Creating Standalone Tarballs
247
+
248
+ ``` bash
249
+ oclif-dev pack
250
+ ```
251
+ this will release standalone tarballs for linux, macos and windows which we can extract and uses.
252
+
253
+ ### Creating Installers
254
+
255
+ ``` bash
256
+ oclif-dev pack:macos
257
+ oclif-dev pack:win
258
+ ```
259
+ these will create installers for macos and windows
260
+
240
261
## License
241
262
242
263
[ MIT] ( https://raw.githubusercontent.com/codingtools/cdt/master/LICENSE )
0 commit comments